blob: dcde7242d39875daa872be28bfbc696a4d9b8d03 (
plain)
1
2
3
4
5
6
7
8
|
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 1 previous error
|