mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
9 lines
297 B
Plaintext
9 lines
297 B
Plaintext
error: expected one of `extern` or `fn`, found `WhereIsFerris`
|
|
--> $DIR/issue-68062-const-extern-fns-dont-need-fn-specifier-2.rs:5:18
|
|
|
|
|
LL | const unsafe WhereIsFerris Now() {}
|
|
| ^^^^^^^^^^^^^ expected one of `extern` or `fn`
|
|
|
|
error: aborting due to 1 previous error
|
|
|