]> git.proxmox.com Git - rustc.git/blame - src/test/ui/functions-closures/fn-help-with-err-generic-is-not-function.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / functions-closures / fn-help-with-err-generic-is-not-function.rs
CommitLineData
5099ac24
FG
1struct Struct<T>(T);
2impl Struct<T>
3//~^ ERROR cannot find type `T` in this scope
4//~| NOTE not found in this scope
5//~| HELP you might be missing a type parameter
6where
7 T: Copy,
8 //~^ ERROR cannot find type `T` in this scope
9 //~| NOTE not found in this scope
10{
5099ac24 11 fn method(v: Vec<u8>) { v.len(); }
5099ac24
FG
12}
13
14fn main() {}