mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
Update tests.
This commit is contained in:
parent
cb26fa07bb
commit
a433ea2518
@ -2,9 +2,8 @@ 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: explicitly specify the C ABI: `extern "C"`
|
||||
|
|
||||
= help: the default ABI is C
|
||||
= note: requested on the command line with `-F missing-abi`
|
||||
|
||||
error: aborting due to 1 previous error
|
||||
|
@ -2,9 +2,8 @@ warning: 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: explicitly specify the C ABI: `extern "C"`
|
||||
|
|
||||
= help: the default ABI is C
|
||||
= note: requested on the command line with `--force-warn missing-abi`
|
||||
|
||||
warning: 1 warning emitted
|
||||
|
@ -2,9 +2,8 @@ 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: explicitly specify the C ABI: `extern "C"`
|
||||
|
|
||||
= help: the default ABI is C
|
||||
= note: requested on the command line with `-D missing-abi`
|
||||
|
||||
error: aborting due to 1 previous error
|
||||
|
Loading…
Reference in New Issue
Block a user