fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

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