Most of these just format the ABI string, so... just format ExternAbi? This makes it more consistent and less jank when we can do it.
11 lines
305 B
Plaintext
11 lines
305 B
Plaintext
error: extern declarations without an explicit ABI are deprecated
|
|
--> $DIR/cli-lint-override.rs:12:1
|
|
|
|
|
LL | extern fn foo() {}
|
|
| ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
|
|
|
|
|
= note: requested on the command line with `-F missing-abi`
|
|
|
|
error: aborting due to 1 previous error
|
|
|