about summary refs log tree commit diff
path: root/tests/ui/parser/impl-parsing.rs
blob: 7692a81dd42cd17334e266f377c2b0fc3f0759d5 (plain)
1
2
3
4
5
impl ! {} // OK
impl ! where u8: Copy {} // OK

impl Trait Type {} //~ ERROR missing `for` in a trait impl
impl ?Sized for Type {} //~ ERROR expected a trait, found type