fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
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() {}