rust/tests/ui/parser/impl-on-unsized-typo.rs

7 lines
114 B
Rust

trait Tr {}
impl<T ?Sized> Tr for T {}
//~^ ERROR expected one of `,`, `:`, `=`, or `>`, found `?`
fn main() {}