summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/doc-before-identifier.stderr
blob: 940d293b6786ce86c7000d67ba10126691bcaf19 (plain)
1
2
3
4
5
6
7
8
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 previous error