mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
12 lines
324 B
Plaintext
12 lines
324 B
Plaintext
error: extern declarations without an explicit ABI are deprecated
|
|
--> $DIR/cli-lint-override.rs:12:1
|
|
|
|
|
LL | extern fn foo() {}
|
|
| ^^^^^^^^^^^^^^^ ABI should be specified here
|
|
|
|
|
= help: the default ABI is C
|
|
= note: requested on the command line with `-D missing-abi`
|
|
|
|
error: aborting due to 1 previous error
|
|
|