blob: 17efc6231d5e7529a71bea6afd830e5ecfa06e55 [file] [log] [blame]
error[E0208]: [+, -, o, *]
--> $DIR/variance-regions-indirect.rs:8:1
|
LL | / enum Base<'a, 'b, 'c:'b, 'd> {
LL | | Test8A(extern "Rust" fn(&'a isize)),
LL | | Test8B(&'b [isize]),
LL | | Test8C(&'b mut &'c str),
LL | | }
| |_^
error[E0208]: [*, o, -, +]
--> $DIR/variance-regions-indirect.rs:15:1
|
LL | / struct Derived1<'w, 'x:'y, 'y, 'z> {
LL | | f: Base<'z, 'y, 'x, 'w>
LL | | }
| |_^
error[E0208]: [o, o, *]
--> $DIR/variance-regions-indirect.rs:20:1
|
LL | / struct Derived2<'a, 'b:'a, 'c> {
LL | | f: Base<'a, 'a, 'b, 'c>
LL | | }
| |_^
error[E0208]: [o, -, *]
--> $DIR/variance-regions-indirect.rs:25:1
|
LL | / struct Derived3<'a:'b, 'b, 'c> {
LL | | f: Base<'a, 'b, 'a, 'c>
LL | | }
| |_^
error[E0208]: [+, -, o]
--> $DIR/variance-regions-indirect.rs:30:1
|
LL | / struct Derived4<'a, 'b, 'c:'b> {
LL | | f: Base<'a, 'b, 'c, 'a>
LL | | }
| |_^
error: aborting due to 5 previous errors