]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/doc-before-identifier.rs
New upstream version 1.66.0+dfsg1
[rustc.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 }