]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/issues/issue-86895.stderr
Rollup merge of #106441 - mllken:abstract-socket-noref, r=joshtriplett
[rust.git] / tests / ui / parser / issues / 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