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

8 lines
92 B
Rust
Raw Normal View History

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