@@ -2,41 +2,40 @@ error: negative trait bounds are not supported
2
2
--> $DIR/issue-33418.rs:3:9
3
3
|
4
4
LL | trait Tr: !SuperA {}
5
- | ^^^^^^^^^ help: remove the trait bound
5
+ | ^^^^^^^^^ negative trait bounds are not supported
6
+ = help: remove the trait bound
6
7
7
8
error: negative trait bounds are not supported
8
- --> $DIR/issue-33418.rs:4 :19
9
+ --> $DIR/issue-33418.rs:5 :19
9
10
|
10
11
LL | 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
14
14
15
15
error: negative trait bounds are not supported
16
- --> $DIR/issue-33418.rs:5 :10
16
+ --> $DIR/issue-33418.rs:7 :10
17
17
|
18
18
LL | 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
22
21
23
22
error: negative trait bounds are not supported
24
- --> $DIR/issue-33418.rs:6 :10
23
+ --> $DIR/issue-33418.rs:9 :10
25
24
|
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
30
30
31
31
error: negative trait bounds are not supported
32
- --> $DIR/issue-33418.rs:8 :10
32
+ --> $DIR/issue-33418.rs:12 :10
33
33
|
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
40
39
41
40
error: aborting due to 5 previous errors
42
41
0 commit comments