rust/tests/ui/parser/suggest-removing-semicolon-after-impl-trait-items.rs
2023-01-11 09:32:08 +00:00

8 lines
93 B
Rust

// run-rustfix
trait Foo {
fn bar() {}; //~ ERROR non-item in item list
}
fn main() {}