Update tests.

This commit is contained in:
Mara Bos 2024-10-30 13:41:26 +01:00
parent cb26fa07bb
commit a433ea2518
3 changed files with 3 additions and 6 deletions

View File

@ -2,9 +2,8 @@ error: extern declarations without an explicit ABI are deprecated
--> $DIR/cli-lint-override.rs:12:1 --> $DIR/cli-lint-override.rs:12:1
| |
LL | extern fn foo() {} LL | extern fn foo() {}
| ^^^^^^^^^^^^^^^ ABI should be specified here | ^^^^^^ help: explicitly specify the C ABI: `extern "C"`
| |
= help: the default ABI is C
= note: requested on the command line with `-F missing-abi` = note: requested on the command line with `-F missing-abi`
error: aborting due to 1 previous error error: aborting due to 1 previous error

View File

@ -2,9 +2,8 @@ warning: extern declarations without an explicit ABI are deprecated
--> $DIR/cli-lint-override.rs:12:1 --> $DIR/cli-lint-override.rs:12:1
| |
LL | extern fn foo() {} LL | extern fn foo() {}
| ^^^^^^^^^^^^^^^ ABI should be specified here | ^^^^^^ help: explicitly specify the C ABI: `extern "C"`
| |
= help: the default ABI is C
= note: requested on the command line with `--force-warn missing-abi` = note: requested on the command line with `--force-warn missing-abi`
warning: 1 warning emitted warning: 1 warning emitted

View File

@ -2,9 +2,8 @@ error: extern declarations without an explicit ABI are deprecated
--> $DIR/cli-lint-override.rs:12:1 --> $DIR/cli-lint-override.rs:12:1
| |
LL | extern fn foo() {} LL | extern fn foo() {}
| ^^^^^^^^^^^^^^^ ABI should be specified here | ^^^^^^ help: explicitly specify the C ABI: `extern "C"`
| |
= help: the default ABI is C
= note: requested on the command line with `-D missing-abi` = note: requested on the command line with `-D missing-abi`
error: aborting due to 1 previous error error: aborting due to 1 previous error