1 error[E0392]: parameter `A` is never used
2 --> $DIR/variance-unused-type-param.rs:6:19
4 LL | struct SomeStruct<A> { x: u32 }
7 = help: consider removing `A`, referring to it in a field, or using a marker such as `PhantomData`
8 = help: if you intended `A` to be a const parameter, use `const A: usize` instead
10 error[E0392]: parameter `A` is never used
11 --> $DIR/variance-unused-type-param.rs:9:15
13 LL | enum SomeEnum<A> { Nothing }
16 = help: consider removing `A`, referring to it in a field, or using a marker such as `PhantomData`
17 = help: if you intended `A` to be a const parameter, use `const A: usize` instead
19 error[E0392]: parameter `T` is never used
20 --> $DIR/variance-unused-type-param.rs:13:15
22 LL | enum ListCell<T> {
25 = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
26 = help: if you intended `T` to be a const parameter, use `const T: usize` instead
28 error: aborting due to 3 previous errors
30 For more information about this error, try `rustc --explain E0392`.