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

9 lines
114 B
Rust
Raw Permalink Normal View History

//@ run-rustfix
2024-02-06 20:42:01 -06:00
#![allow(dead_code)]
trait Foo {
fn bar() {} //~ ERROR non-item in item list
}
fn main() {}