1 2 3 4 5 6 7 8
// compile-flags: -Z continue-parse-after-error mod Foo { /// document //~^ ERROR expected item after doc comment } fn main() {}