]> git.proxmox.com Git - rustc.git/blame - src/test/ui/parser/issues/issue-33418.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / parser / issues / issue-33418.rs
CommitLineData
9fa01778
XL
1// run-rustfix
2
532ac7d7 3trait Tr: !SuperA {}
dfeec247 4//~^ ERROR negative bounds are not supported
532ac7d7 5trait Tr2: SuperA + !SuperB {}
dfeec247 6//~^ ERROR negative bounds are not supported
532ac7d7 7trait Tr3: !SuperA + SuperB {}
dfeec247 8//~^ ERROR negative bounds are not supported
532ac7d7 9trait Tr4: !SuperA + SuperB
9fa01778 10 + !SuperC + SuperD {}
dfeec247 11//~^ ERROR negative bounds are not supported
532ac7d7 12trait Tr5: !SuperA
9fa01778 13 + !SuperB {}
dfeec247 14//~^ ERROR negative bounds are not supported
9fa01778
XL
15
16trait SuperA {}
17trait SuperB {}
18trait SuperC {}
19trait SuperD {}
20
21fn main() {}