41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
9 lines
322 B
Plaintext
9 lines
322 B
Plaintext
error: expected `fn`, found `PUT_ANYTHING_YOU_WANT_HERE`
|
|
--> $DIR/issue-68062-const-extern-fns-dont-need-fn-specifier.rs:5:25
|
|
|
|
|
LL | const extern "Rust" PUT_ANYTHING_YOU_WANT_HERE bug() -> usize { 1 }
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `fn`
|
|
|
|
error: aborting due to 1 previous error
|
|
|