]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-86895.stderr
Auto merge of #83918 - workingjubilee:stable-rangefrom-pat, r=joshtriplett
[rust.git] / src / test / ui / parser / issue-86895.stderr
1 error: expected one of `async`, `extern`, `fn`, or `unsafe`, found keyword `pub`
2   --> $DIR/issue-86895.rs:1:7
3    |
4 LL | const pub () {}
5    |       ^^^ expected one of `async`, `extern`, `fn`, or `unsafe`
6
7 error: aborting due to previous error
8