We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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)