rust/tests/ui/parser/suggest-removing-semicolon-after-impl-trait-items.rs

8 lines
93 B
Rust
Raw Normal View History

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