rust/tests/ui/parser/suggest-removing-semicolon-...

9 lines
114 B
Rust

//@ run-rustfix
#![allow(dead_code)]
trait Foo {
fn bar() {} //~ ERROR non-item in item list
}
fn main() {}