]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-33418.fixed
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / issue-33418.fixed
1 // run-rustfix
2
3 trait Tr {}
4 //~^ ERROR negative trait bounds are not supported
5 trait Tr2: SuperA {}
6 //~^ ERROR negative trait bounds are not supported
7 trait Tr3: SuperB {}
8 //~^ ERROR negative trait bounds are not supported
9 trait Tr4: SuperB + SuperD {}
10 //~^ ERROR negative trait bounds are not supported
11 trait Tr5 {}
12 //~^ ERROR negative trait bounds are not supported
13
14 trait SuperA {}
15 trait SuperB {}
16 trait SuperC {}
17 trait SuperD {}
18
19 fn main() {}