|
1 |
| -error: negative trait bounds are not supported |
| 1 | +error: negative bounds are not supported |
2 | 2 | --> $DIR/issue-33418.rs:3:9
|
3 | 3 | |
|
4 | 4 | LL | trait Tr: !SuperA {}
|
5 |
| - | ^^^^^^^^^ negative trait bounds are not supported |
6 |
| - | |
7 |
| - = help: remove the trait bound |
| 5 | + | ^^^^^^^^^ negative bounds are not supported |
8 | 6 |
|
9 |
| -error: negative trait bounds are not supported |
| 7 | +error: negative bounds are not supported |
10 | 8 | --> $DIR/issue-33418.rs:5:19
|
11 | 9 | |
|
12 | 10 | LL | trait Tr2: SuperA + !SuperB {}
|
13 |
| - | ^^^^^^^^^ negative trait bounds are not supported |
14 |
| - | |
15 |
| - = help: remove the trait bound |
| 11 | + | ^^^^^^^^^ negative bounds are not supported |
16 | 12 |
|
17 |
| -error: negative trait bounds are not supported |
| 13 | +error: negative bounds are not supported |
18 | 14 | --> $DIR/issue-33418.rs:7:10
|
19 | 15 | |
|
20 | 16 | LL | trait Tr3: !SuperA + SuperB {}
|
21 |
| - | ^^^^^^^^^ negative trait bounds are not supported |
22 |
| - | |
23 |
| - = help: remove the trait bound |
| 17 | + | ^^^^^^^^^ negative bounds are not supported |
24 | 18 |
|
25 |
| -error: negative trait bounds are not supported |
| 19 | +error: negative bounds are not supported |
26 | 20 | --> $DIR/issue-33418.rs:9:10
|
27 | 21 | |
|
28 | 22 | LL | trait Tr4: !SuperA + SuperB
|
29 | 23 | | ^^^^^^^^^
|
30 | 24 | LL | + !SuperC + SuperD {}
|
31 |
| - | ^^^^^^^^^ negative trait bounds are not supported |
32 |
| - | |
33 |
| - = help: remove the trait bounds |
| 25 | + | ^^^^^^^^^ negative bounds are not supported |
34 | 26 |
|
35 |
| -error: negative trait bounds are not supported |
| 27 | +error: negative bounds are not supported |
36 | 28 | --> $DIR/issue-33418.rs:12:10
|
37 | 29 | |
|
38 | 30 | LL | trait Tr5: !SuperA
|
39 | 31 | | ^^^^^^^^^
|
40 | 32 | LL | + !SuperB {}
|
41 |
| - | ^^^^^^^^^ negative trait bounds are not supported |
42 |
| - | |
43 |
| - = help: remove the trait bounds |
| 33 | + | ^^^^^^^^^ negative bounds are not supported |
44 | 34 |
|
45 | 35 | error: aborting due to 5 previous errors
|
46 | 36 |
|
0 commit comments