mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
96d24f2dd1
This reverts commit65cd843ae0
, reversing changes made tod255c6a57c
.
66 lines
2.0 KiB
Plaintext
66 lines
2.0 KiB
Plaintext
error[E0392]: lifetime parameter `'d` is never used
|
|
--> $DIR/variance-regions-indirect.rs:8:26
|
|
|
|
|
LL | enum Base<'a, 'b, 'c:'b, 'd> {
|
|
| ^^ unused lifetime parameter
|
|
|
|
|
= help: consider removing `'d`, referring to it in a field, or using a marker such as `PhantomData`
|
|
|
|
error[E0392]: lifetime parameter `'w` is never used
|
|
--> $DIR/variance-regions-indirect.rs:16:17
|
|
|
|
|
LL | struct Derived1<'w, 'x:'y, 'y, 'z> {
|
|
| ^^ unused lifetime parameter
|
|
|
|
|
= help: consider removing `'w`, referring to it in a field, or using a marker such as `PhantomData`
|
|
|
|
error[E0392]: lifetime parameter `'c` is never used
|
|
--> $DIR/variance-regions-indirect.rs:22:28
|
|
|
|
|
LL | struct Derived2<'a, 'b:'a, 'c> {
|
|
| ^^ unused lifetime parameter
|
|
|
|
|
= help: consider removing `'c`, referring to it in a field, or using a marker such as `PhantomData`
|
|
|
|
error[E0392]: lifetime parameter `'c` is never used
|
|
--> $DIR/variance-regions-indirect.rs:28:28
|
|
|
|
|
LL | struct Derived3<'a:'b, 'b, 'c> {
|
|
| ^^ unused lifetime parameter
|
|
|
|
|
= help: consider removing `'c`, referring to it in a field, or using a marker such as `PhantomData`
|
|
|
|
error: [-, +, o, *]
|
|
--> $DIR/variance-regions-indirect.rs:8:1
|
|
|
|
|
LL | enum Base<'a, 'b, 'c:'b, 'd> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: [*, o, +, -]
|
|
--> $DIR/variance-regions-indirect.rs:16:1
|
|
|
|
|
LL | struct Derived1<'w, 'x:'y, 'y, 'z> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: [o, o, *]
|
|
--> $DIR/variance-regions-indirect.rs:22:1
|
|
|
|
|
LL | struct Derived2<'a, 'b:'a, 'c> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: [o, +, *]
|
|
--> $DIR/variance-regions-indirect.rs:28:1
|
|
|
|
|
LL | struct Derived3<'a:'b, 'b, 'c> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: [-, +, o]
|
|
--> $DIR/variance-regions-indirect.rs:34:1
|
|
|
|
|
LL | struct Derived4<'a, 'b, 'c:'b> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 9 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0392`.
|