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

8 lines
92 B
Rust

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