fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

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