|
1 | 1 | error[E0392]: lifetime parameter `'d` is never used
|
2 |
| - --> $DIR/variance-regions-indirect.rs:8:26 |
| 2 | + --> $DIR/variance-regions-indirect.rs:8:27 |
3 | 3 | |
|
4 |
| -LL | enum Base<'a, 'b, 'c:'b, 'd> { |
5 |
| - | ^^ unused lifetime parameter |
| 4 | +LL | enum Base<'a, 'b, 'c: 'b, 'd> { |
| 5 | + | ^^ unused lifetime parameter |
6 | 6 | |
|
7 | 7 | = help: consider removing `'d`, referring to it in a field, or using a marker such as `PhantomData`
|
8 | 8 |
|
9 | 9 | error[E0392]: lifetime parameter `'w` is never used
|
10 | 10 | --> $DIR/variance-regions-indirect.rs:16:17
|
11 | 11 | |
|
12 |
| -LL | struct Derived1<'w, 'x:'y, 'y, 'z> { |
| 12 | +LL | struct Derived1<'w, 'x: 'y, 'y, 'z> { |
13 | 13 | | ^^ unused lifetime parameter
|
14 | 14 | |
|
15 | 15 | = help: consider removing `'w`, referring to it in a field, or using a marker such as `PhantomData`
|
16 | 16 |
|
17 | 17 | error[E0392]: lifetime parameter `'c` is never used
|
18 |
| - --> $DIR/variance-regions-indirect.rs:22:28 |
| 18 | + --> $DIR/variance-regions-indirect.rs:22:29 |
19 | 19 | |
|
20 |
| -LL | struct Derived2<'a, 'b:'a, 'c> { |
21 |
| - | ^^ unused lifetime parameter |
| 20 | +LL | struct Derived2<'a, 'b: 'a, 'c> { |
| 21 | + | ^^ unused lifetime parameter |
22 | 22 | |
|
23 | 23 | = help: consider removing `'c`, referring to it in a field, or using a marker such as `PhantomData`
|
24 | 24 |
|
25 | 25 | error[E0392]: lifetime parameter `'c` is never used
|
26 |
| - --> $DIR/variance-regions-indirect.rs:28:28 |
| 26 | + --> $DIR/variance-regions-indirect.rs:28:29 |
27 | 27 | |
|
28 |
| -LL | struct Derived3<'a:'b, 'b, 'c> { |
29 |
| - | ^^ unused lifetime parameter |
| 28 | +LL | struct Derived3<'a: 'b, 'b, 'c> { |
| 29 | + | ^^ unused lifetime parameter |
30 | 30 | |
|
31 | 31 | = help: consider removing `'c`, referring to it in a field, or using a marker such as `PhantomData`
|
32 | 32 |
|
33 |
| -error: [-, +, o, *] |
| 33 | +error: [-, +, o, o] |
34 | 34 | --> $DIR/variance-regions-indirect.rs:8:1
|
35 | 35 | |
|
36 |
| -LL | enum Base<'a, 'b, 'c:'b, 'd> { |
37 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 36 | +LL | enum Base<'a, 'b, 'c: 'b, 'd> { |
| 37 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
38 | 38 |
|
39 |
| -error: [*, o, +, -] |
| 39 | +error: [o, o, +, -] |
40 | 40 | --> $DIR/variance-regions-indirect.rs:16:1
|
41 | 41 | |
|
42 |
| -LL | struct Derived1<'w, 'x:'y, 'y, 'z> { |
43 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 42 | +LL | struct Derived1<'w, 'x: 'y, 'y, 'z> { |
| 43 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
44 | 44 |
|
45 |
| -error: [o, o, *] |
| 45 | +error: [o, o, o] |
46 | 46 | --> $DIR/variance-regions-indirect.rs:22:1
|
47 | 47 | |
|
48 |
| -LL | struct Derived2<'a, 'b:'a, 'c> { |
49 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 48 | +LL | struct Derived2<'a, 'b: 'a, 'c> { |
| 49 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
50 | 50 |
|
51 |
| -error: [o, +, *] |
| 51 | +error: [o, +, o] |
52 | 52 | --> $DIR/variance-regions-indirect.rs:28:1
|
53 | 53 | |
|
54 |
| -LL | struct Derived3<'a:'b, 'b, 'c> { |
55 |
| - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 54 | +LL | struct Derived3<'a: 'b, 'b, 'c> { |
| 55 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
56 | 56 |
|
57 | 57 | error: [-, +, o]
|
58 | 58 | --> $DIR/variance-regions-indirect.rs:34:1
|
|
0 commit comments