fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
417 B19 linesraw
1// run-rustfix
2
3trait Tr {}
4//~^ ERROR negative bounds are not supported
5trait Tr2: SuperA {}
6//~^ ERROR negative bounds are not supported
7trait Tr3: SuperB {}
8//~^ ERROR negative bounds are not supported
9trait Tr4: SuperB + SuperD {}
10//~^ ERROR negative bounds are not supported
11trait Tr5 {}
12//~^ ERROR negative bounds are not supported
13
14trait SuperA {}
15trait SuperB {}
16trait SuperC {}
17trait SuperD {}
18
19fn main() {}