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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
117 B
Rust
Raw Normal View History

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