We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
impl Trait
The following code only warns that f is unused on stable, not on beta or nightly:
f
trait Trait {} impl<T> Trait for T {} fn f() -> impl Trait {}
(apologies if this is a duplicate, but a quick search didn't turn anything up)