]> git.proxmox.com Git - rustc.git/blob - tests/ui/functions-closures/fn-help-with-err-generic-is-not-function.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / functions-closures / fn-help-with-err-generic-is-not-function.stderr
1 error[E0412]: cannot find type `T` in this scope
2 --> $DIR/fn-help-with-err-generic-is-not-function.rs:2:13
3 |
4 LL | impl Struct<T>
5 | ^ not found in this scope
6 |
7 help: you might be missing a type parameter
8 |
9 LL | impl<T> Struct<T>
10 | +++
11
12 error[E0412]: cannot find type `T` in this scope
13 --> $DIR/fn-help-with-err-generic-is-not-function.rs:7:5
14 |
15 LL | T: Copy,
16 | ^ not found in this scope
17
18 error: aborting due to 2 previous errors
19
20 For more information about this error, try `rustc --explain E0412`.