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 used on a trait declaration, a call expression of an expression statement to a function that returns an impl trait of that trait violates the unused_must_use lint.
But it also applies to dyn Trait, not just impl Trait.
The text was updated successfully, but these errors were encountered:
The reference says:
But it also applies to
dyn Trait
, not justimpl Trait
.The text was updated successfully, but these errors were encountered: