summaryrefslogtreecommitdiffstats
path: root/tests/ui/pub/pub-restricted-non-path.stderr
blob: e0ea50621f7528157355e2ffabd30062c78cf067 (plain)
1
2
3
4
5
6
7
8
error: expected identifier, found `.`
  --> $DIR/pub-restricted-non-path.rs:3:6
   |
LL | pub (.) fn afn() {}
   |      ^ expected identifier

error: aborting due to previous error