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