#![crate_name = "foo"] #![feature(generic_associated_types)] pub trait Trait { type Gat<'a>; } // Make sure that the elided lifetime shows up // @has foo/type.T.html // @has - "pub type T = " // @has - "<'_>" pub type T = fn(&<() as Trait>::Gat<'_>);