2022-02-13 14:06:06 -06:00
|
|
|
error[E0412]: cannot find type `T` in this scope
|
|
|
|
--> $DIR/fn-help-with-err-generic-is-not-function.rs:2:13
|
|
|
|
|
|
|
|
|
LL | impl Struct<T>
|
2023-01-08 17:21:46 -06:00
|
|
|
| ^ not found in this scope
|
|
|
|
|
|
|
|
|
help: you might be missing a type parameter
|
|
|
|
|
|
|
|
|
LL | impl<T> Struct<T>
|
|
|
|
| +++
|
2022-02-13 14:06:06 -06:00
|
|
|
|
|
|
|
error[E0412]: cannot find type `T` in this scope
|
|
|
|
--> $DIR/fn-help-with-err-generic-is-not-function.rs:7:5
|
|
|
|
|
|
|
|
|
LL | T: Copy,
|
|
|
|
| ^ not found in this scope
|
|
|
|
|
2022-04-06 23:10:43 -05:00
|
|
|
error: aborting due to 2 previous errors
|
2022-02-13 14:06:06 -06:00
|
|
|
|
2022-04-06 23:10:43 -05:00
|
|
|
For more information about this error, try `rustc --explain E0412`.
|