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
When the pub trait method's default implementation is removed, the method is no more provided and turns into a declared method. This forces the new version to implement the now-declared method in all of the impl blocks which were deriving that trait with its previously-provided method in the old version.
Required new version: Major
This requires some schema additions:
adding the edge from Trait to its Methods [linked PR]
enabling the has_body field for Method [linked PR]
The text was updated successfully, but these errors were encountered:
SmolSir
changed the title
New lint: trait method body removed
New lint: pub trait method default implementation removed
Jan 17, 2023
When the
pub trait
method's default implementation is removed, the method is no more provided and turns into a declared method. This forces the new version to implement the now-declared method in all of theimpl
blocks which were deriving that trait with its previously-provided method in the old version.Required new version: Major
This requires some schema additions:
Trait
to itsMethod
s [linked PR]has_body
field forMethod
[linked PR]The text was updated successfully, but these errors were encountered: