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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
114 B
Rust
Raw Normal View History

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