rust/tests/ui/parser/doc-before-mod-rbrace.rs

7 lines
90 B
Rust

mod Foo {
/// document
//~^ ERROR expected item after doc comment
}
fn main() {}