]> git.lizzy.rs Git - rust.git/blob - src/test/ui/functions-closures/fn-help-with-err-generic-is-not-function.stderr
Auto merge of #96078 - udoprog:refcounted-str-to-u8, r=dtolnay
[rust.git] / src / test / 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: `<T>`
8
9 error[E0412]: cannot find type `T` in this scope
10   --> $DIR/fn-help-with-err-generic-is-not-function.rs:7:5
11    |
12 LL |     T: Copy,
13    |     ^ not found in this scope
14
15 error: aborting due to 2 previous errors
16
17 For more information about this error, try `rustc --explain E0412`.