rust/tests/ui/parser/issues/issue-56031.rs

7 lines
80 B
Rust

struct T;
impl for T {}
//~^ ERROR missing trait in a trait impl
fn main() {}