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 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() {}