--> $DIR/issue-36299.rs:1:12
|
LL | struct Foo<'a, A> {}
- | ^^ unused type parameter
+ | ^^ unused parameter
|
- = help: consider removing `'a` or using a marker such as `std::marker::PhantomData`
+ = help: consider removing `'a`, refering to it in a field or using a marker such as `std::marker::PhantomData`
error[E0392]: parameter `A` is never used
--> $DIR/issue-36299.rs:1:16
|
LL | struct Foo<'a, A> {}
- | ^ unused type parameter
+ | ^ unused parameter
|
- = help: consider removing `A` or using a marker such as `std::marker::PhantomData`
+ = help: consider removing `A`, refering to it in a field or using a marker such as `std::marker::PhantomData`
error: aborting due to 2 previous errors