]> git.lizzy.rs Git - rust.git/blob - src/test/ui/variance/variance-regions-indirect.stderr
Merge commit '0969bc6dde001e01e7e1f58c8ccd7750f8a49ae1' into sync_cg_clif-2021-03-29
[rust.git] / src / test / ui / variance / variance-regions-indirect.stderr
1 error[E0208]: [+, -, o, *]
2   --> $DIR/variance-regions-indirect.rs:8:1
3    |
4 LL | / enum Base<'a, 'b, 'c:'b, 'd> {
5 LL | |     Test8A(extern "Rust" fn(&'a isize)),
6 LL | |     Test8B(&'b [isize]),
7 LL | |     Test8C(&'b mut &'c str),
8 LL | | }
9    | |_^
10
11 error[E0208]: [*, o, -, +]
12   --> $DIR/variance-regions-indirect.rs:15:1
13    |
14 LL | / struct Derived1<'w, 'x:'y, 'y, 'z> {
15 LL | |     f: Base<'z, 'y, 'x, 'w>
16 LL | | }
17    | |_^
18
19 error[E0208]: [o, o, *]
20   --> $DIR/variance-regions-indirect.rs:20:1
21    |
22 LL | / struct Derived2<'a, 'b:'a, 'c> {
23 LL | |     f: Base<'a, 'a, 'b, 'c>
24 LL | | }
25    | |_^
26
27 error[E0208]: [o, -, *]
28   --> $DIR/variance-regions-indirect.rs:25:1
29    |
30 LL | / struct Derived3<'a:'b, 'b, 'c> {
31 LL | |     f: Base<'a, 'b, 'a, 'c>
32 LL | | }
33    | |_^
34
35 error[E0208]: [+, -, o]
36   --> $DIR/variance-regions-indirect.rs:30:1
37    |
38 LL | / struct Derived4<'a, 'b, 'c:'b> {
39 LL | |     f: Base<'a, 'b, 'c, 'a>
40 LL | | }
41    | |_^
42
43 error: aborting due to 5 previous errors
44