]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/doc-before-identifier.rs
Merge commit '98e2b9f25b6db4b2680a3d388456d9f95cb28344' into clippyup
[rust.git] / src / test / ui / parser / doc-before-identifier.rs
1 fn /// document
2 foo() {}
3 //~^^ ERROR expected identifier, found doc comment `/// document`
4
5 fn main() {
6     foo();
7 }