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
304 B
Plaintext
11 lines
304 B
Plaintext
warning: 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 `--force-warn missing-abi`
|
|
|
|
warning: 1 warning emitted
|
|
|