mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 03:07:24 +03:00
Update tests.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user