mod Foo {
    /// document
    //~^ ERROR expected item after doc comment
}

fn main() {}