rust/tests/ui/parser/doc-before-identifier.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

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