]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/impl-parsing.rs
Auto merge of #67339 - CAD97:rc-provenance, r=sfackler
[rust.git] / src / test / ui / parser / impl-parsing.rs
1 impl ! {} // OK
2 impl ! where u8: Copy {} // OK
3
4 impl Trait Type {} //~ ERROR missing `for` in a trait impl
5 impl Trait .. {} //~ ERROR missing `for` in a trait impl
6 impl ?Sized for Type {} //~ ERROR expected a trait, found type
7 impl ?Sized for .. {} //~ ERROR expected a trait, found type
8
9 default unsafe FAIL //~ ERROR expected `impl`, found `FAIL`