2018-08-08 07:28:26 -05:00
|
|
|
error[E0392]: parameter `'a` is never used
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/variance-regions-unused-indirect.rs:3:10
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | enum Foo<'a> {
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^ unused type parameter
|
|
|
|
|
|
|
|
|
= help: consider removing `'a` or using a marker such as `std::marker::PhantomData`
|
|
|
|
|
|
|
|
error[E0392]: parameter `'a` is never used
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/variance-regions-unused-indirect.rs:7:10
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | enum Bar<'a> {
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^ unused type parameter
|
|
|
|
|
|
|
|
|
= help: consider removing `'a` or using a marker such as `std::marker::PhantomData`
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0392`.
|