summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/issues/issue-86895.stderr
blob: 575d857c0ed4f441f2d9bf2a2f70d92510780888 (plain)
1
2
3
4
5
6
7
8
error: expected one of `async`, `extern`, `fn`, or `unsafe`, found keyword `pub`
  --> $DIR/issue-86895.rs:1:7
   |
LL | const pub () {}
   |       ^^^ expected one of `async`, `extern`, `fn`, or `unsafe`

error: aborting due to previous error