You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@vi just suggested to have a lint “for having fn new() -> Self, but not having Default” on IRC.
That’s probably a good idea, but it might trigger a lot, so maybe an Allow lint by default?
Activity
Manishearth commentedon Feb 24, 2016
Not sure if it needs to be
Allow
, but sure :)llogiq commentedon Feb 24, 2016
I'd be OK with
warn
, too.fn new() -> Self
and noDefault
impl #730