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

6 lines
156 B
Rust

fn main() {
/// document
//~^ ERROR found a documentation comment that doesn't document anything
//~| HELP if a comment was intended use `//`
}