fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
976 B36 linesraw
1error: negative bounds are not supported
2  --> $DIR/issue-33418.rs:3:9
3   |
4LL | trait Tr: !SuperA {}
5   |         ^^^^^^^^^ negative bounds are not supported
6
7error: negative bounds are not supported
8  --> $DIR/issue-33418.rs:5:19
9   |
10LL | trait Tr2: SuperA + !SuperB {}
11   |                   ^^^^^^^^^ negative bounds are not supported
12
13error: negative bounds are not supported
14  --> $DIR/issue-33418.rs:7:10
15   |
16LL | trait Tr3: !SuperA + SuperB {}
17   |          ^^^^^^^^^ negative bounds are not supported
18
19error: negative bounds are not supported
20  --> $DIR/issue-33418.rs:9:10
21   |
22LL | trait Tr4: !SuperA + SuperB
23   |          ^^^^^^^^^
24LL |     + !SuperC + SuperD {}
25   |     ^^^^^^^^^ negative bounds are not supported
26
27error: negative bounds are not supported
28  --> $DIR/issue-33418.rs:12:10
29   |
30LL | trait Tr5: !SuperA
31   |          ^^^^^^^^^
32LL |     + !SuperB {}
33   |     ^^^^^^^^^ negative bounds are not supported
34
35error: aborting due to 5 previous errors
36