rust/tests/ui/parser/suggest-removing-semicolon-after-impl-trait-items.fixed
2024-02-16 20:02:50 +00:00

9 lines
114 B
Rust

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