struct Struct(T); impl Struct //~^ ERROR cannot find type `T` in this scope //~| NOTE not found in this scope //~| HELP you might be missing a type parameter where T: Copy, //~^ ERROR cannot find type `T` in this scope //~| NOTE not found in this scope { fn method(v: Vec) { v.len(); } } fn main() {}