fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0401]: can't use generic parameters from outer item 2 --> $DIR/issue-5997-struct.rs:2:14 3 | 4LL | fn f<T>() -> bool { 5 | - type parameter from outer item 6LL | struct S(T); 7 | -^ use of generic parameter from outer item 8 | | 9 | help: try introducing a local generic parameter here: `<T>` 10 11error: aborting due to previous error 12 13For more information about this error, try `rustc --explain E0401`.