rust/tests/ui/parser/issues/issue-86895.stderr
2024-06-04 14:19:42 -03:00

9 lines
263 B
Plaintext

error: expected one of `async`, `extern`, `fn`, `safe`, or `unsafe`, found keyword `pub`
--> $DIR/issue-86895.rs:1:7
|
LL | const pub () {}
| ^^^ expected one of `async`, `extern`, `fn`, `safe`, or `unsafe`
error: aborting due to 1 previous error