]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-33418.stderr
acbe597ef31a327f7fa229d0dc14375236d20733
[rust.git] / src / test / ui / parser / issue-33418.stderr
1 error: negative trait bounds are not supported
2   --> $DIR/issue-33418.rs:3:9
3    |
4 LL | trait Tr: !SuperA {}
5    |         ^^^^^^^^^ help: remove the trait bound
6
7 error: negative trait bounds are not supported
8   --> $DIR/issue-33418.rs:4:19
9    |
10 LL | trait Tr2: SuperA + !SuperB {}
11    |          ---------^^^^^^^^^
12    |          |
13    |          help: remove the trait bound
14
15 error: negative trait bounds are not supported
16   --> $DIR/issue-33418.rs:5:10
17    |
18 LL | trait Tr3: !SuperA + SuperB {}
19    |          ^^^^^^^^^---------
20    |          |
21    |          help: remove the trait bound
22
23 error: negative trait bounds are not supported
24   --> $DIR/issue-33418.rs:6:10
25    |
26 LL |   trait Tr4: !SuperA + SuperB
27    |  __________-^^^^^^^^
28 LL | |     + !SuperC + SuperD {}
29    | |_____^^^^^^^^^________- help: remove the trait bounds
30
31 error: negative trait bounds are not supported
32   --> $DIR/issue-33418.rs:8:10
33    |
34 LL |   trait Tr5: !SuperA
35    |  __________-^^^^^^^^
36 LL | |     + !SuperB {}
37    | |     ^^^^^^^^-
38    | |_____________|
39    |               help: remove the trait bounds
40
41 error: aborting due to 5 previous errors
42