summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/suggest-removing-semicolon-after-impl-trait-items.rs
blob: 4650b05e20ce8852e5688087707d0cb9fd981e7e (plain)
1
2
3
4
5
6
7
// run-rustfix

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

fn main() {}