summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/const-extern-fn/issue-68062-const-extern-fns-dont-need-fn-specifier-2.stderr
blob: 5ec9e2a91f1dc28f4b33916bb0449e9540af1049 (plain)
1
2
3
4
5
6
7
8
error: expected one of `extern` or `fn`, found `WhereIsFerris`
  --> $DIR/issue-68062-const-extern-fns-dont-need-fn-specifier-2.rs:5:18
   |
LL |     const unsafe WhereIsFerris Now() {}
   |                  ^^^^^^^^^^^^^ expected one of `extern` or `fn`

error: aborting due to previous error