]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/issue-33418.stderr
New upstream version 1.34.2+dfsg1
[rustc.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 {} //~ ERROR negative trait bounds are not supported
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 {} //~ ERROR negative trait bounds are not supported
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 {} //~ ERROR negative trait bounds are not supported
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 //~ ERROR negative trait bounds are not supported
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 //~ ERROR negative trait bounds are not supported
35 | __________-^^^^^^^^
36 LL | | + !SuperB {}
37 | | ^^^^^^^^-
38 | |_____________|
39 | help: remove the trait bounds
40
41 error: aborting due to 5 previous errors
42