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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
93 B
Rust
Raw Normal View History

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