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

9 lines
115 B
Rust

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