pub struct S; trait Generic {} impl<'a, T> Generic<&'a T> for S {} impl Generic for S {} //~^ ERROR cannot find type `Type` in this scope fn main() {}