1 2 3 4 5 6 7 8
//@ run-rustfix #![allow(dead_code)] trait Foo { fn bar() {}; //~ ERROR non-item in item list } fn main() {}