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

6 lines
166 B
Rust

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