]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-33418.fixed
Add 'compiler/rustc_codegen_cranelift/' from commit '793d26047f994e23415f8f6bb5686ff2...
[rust.git] / src / test / ui / parser / 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() {}