rust/src/test/ui/parser/doc-before-identifier.rs
Esteban Küber d6ea6b972d fix tidy
2019-05-31 13:50:04 -07:00

7 lines
117 B
Rust

fn /// document
foo() {}
//~^^ ERROR expected identifier, found doc comment `/// document`
fn main() {
foo();
}