rust/src/test/ui/parser/doc-before-semi.rs
2019-08-12 10:14:07 -04:00

9 lines
234 B
Rust

fn main() {
/// hi
//~^ ERROR found a documentation comment that doesn't document anything
//~| HELP maybe a comment was intended
;
//~^ WARNING unnecessary trailing semicolon
//~| HELP remove this semicolon
}