2018-02-07 21:35:35 -06:00
|
|
|
error[E0392]: parameter `T` is never used
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/E0392.rs:1:10
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | enum Foo<T> { Bar }
|
2019-04-17 16:41:34 -05:00
|
|
|
| ^ unused parameter
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
2020-09-02 02:40:56 -05:00
|
|
|
= help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
|
2021-04-30 23:39:50 -05:00
|
|
|
= help: if you intended `T` to be a const parameter, use `const T: usize` instead
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0392`.
|