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

9 lines
229 B
Plaintext

error: expected identifier, found doc comment `/// document`
--> $DIR/doc-before-identifier.rs:1:4
|
LL | fn /// document
| ^^^^^^^^^^^^ expected identifier, found doc comment
error: aborting due to 1 previous error