Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
#![deny(dead_code)]
trait Trait {
type Type;
}
impl Trait for () {
type Type = ();
type Used = ();
type Unused = (); //~ ERROR type alias `Unused` is never used
fn foo() -> impl Trait<Type = Used> {}
fn main() {
foo();