rust/tests/ui/parser/issues/issue-86895.stderr

9 lines
245 B
Plaintext
Raw Normal View History

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