@@ -2,41 +2,40 @@ error: negative trait bounds are not supported
22 --> $DIR/issue-33418.rs:3:9
33 |
44LL | trait Tr: !SuperA {}
5- | ^^^^^^^^^ help: remove the trait bound
5+ | ^^^^^^^^^ negative trait bounds are not supported
6+ = help: remove the trait bound
67
78error: negative trait bounds are not supported
8- --> $DIR/issue-33418.rs:4 :19
9+ --> $DIR/issue-33418.rs:5 :19
910 |
1011LL | trait Tr2: SuperA + !SuperB {}
11- | ---------^^^^^^^^^
12- | |
13- | help: remove the trait bound
12+ | ^^^^^^^^^ negative trait bounds are not supported
13+ = help: remove the trait bound
1414
1515error: negative trait bounds are not supported
16- --> $DIR/issue-33418.rs:5 :10
16+ --> $DIR/issue-33418.rs:7 :10
1717 |
1818LL | trait Tr3: !SuperA + SuperB {}
19- | ^^^^^^^^^---------
20- | |
21- | help: remove the trait bound
19+ | ^^^^^^^^^ negative trait bounds are not supported
20+ = help: remove the trait bound
2221
2322error: negative trait bounds are not supported
24- --> $DIR/issue-33418.rs:6 :10
23+ --> $DIR/issue-33418.rs:9 :10
2524 |
26- LL | trait Tr4: !SuperA + SuperB
27- | __________-^^^^^^^^
28- LL | | + !SuperC + SuperD {}
29- | |_____^^^^^^^^^________- help: remove the trait bounds
25+ LL | trait Tr4: !SuperA + SuperB
26+ | ^^^^^^^^^
27+ LL | + !SuperC + SuperD {}
28+ | ^^^^^^^^^ negative trait bounds are not supported
29+ = help: remove the trait bounds
3030
3131error: negative trait bounds are not supported
32- --> $DIR/issue-33418.rs:8 :10
32+ --> $DIR/issue-33418.rs:12 :10
3333 |
34- LL | trait Tr5: !SuperA
35- | __________-^^^^^^^^
36- LL | | + !SuperB {}
37- | | ^^^^^^^^-
38- | |_____________|
39- | help: remove the trait bounds
34+ LL | trait Tr5: !SuperA
35+ | ^^^^^^^^^
36+ LL | + !SuperB {}
37+ | ^^^^^^^^^ negative trait bounds are not supported
38+ = help: remove the trait bounds
4039
4140error: aborting due to 5 previous errors
4241
0 commit comments