summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/const-extern-fn/issue-68062-const-extern-fns-dont-need-fn-specifier.stderr
blob: ec415ec9d0211c006382e9bbf6116b0032565c36 (plain)
1
2
3
4
5
6
7
8
error: expected `fn`, found `PUT_ANYTHING_YOU_WANT_HERE`
  --> $DIR/issue-68062-const-extern-fns-dont-need-fn-specifier.rs:5:25
   |
LL |     const extern "Rust" PUT_ANYTHING_YOU_WANT_HERE bug() -> usize { 1 }
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `fn`

error: aborting due to previous error