Update tests. · rust-lang/rust@a433ea2 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit a433ea2
File tree
3 files changed
lines changed
3 files changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -2,9 +2,8 @@ error: extern declarations without an explicit ABI are deprecated | ||
2 | 2 | --> $DIR/cli-lint-override.rs:12:1 |
3 | 3 | | |
4 | 4 | LL | extern fn foo() {} |
5 | - | ^^^^^^^^^^^^^^^ ABI should be specified here | |
5 | + | ^^^^^^ help: explicitly specify the C ABI: `extern "C"` | |
6 | 6 | | |
7 | - = help: the default ABI is C | |
8 | 7 | = note: requested on the command line with `-F missing-abi` |
9 | 8 | |
10 | 9 | error: aborting due to 1 previous error |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -2,9 +2,8 @@ warning: extern declarations without an explicit ABI are deprecated | ||
2 | 2 | --> $DIR/cli-lint-override.rs:12:1 |
3 | 3 | | |
4 | 4 | LL | extern fn foo() {} |
5 | - | ^^^^^^^^^^^^^^^ ABI should be specified here | |
5 | + | ^^^^^^ help: explicitly specify the C ABI: `extern "C"` | |
6 | 6 | | |
7 | - = help: the default ABI is C | |
8 | 7 | = note: requested on the command line with `--force-warn missing-abi` |
9 | 8 | |
10 | 9 | warning: 1 warning emitted |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -2,9 +2,8 @@ error: extern declarations without an explicit ABI are deprecated | ||
2 | 2 | --> $DIR/cli-lint-override.rs:12:1 |
3 | 3 | | |
4 | 4 | LL | extern fn foo() {} |
5 | - | ^^^^^^^^^^^^^^^ ABI should be specified here | |
5 | + | ^^^^^^ help: explicitly specify the C ABI: `extern "C"` | |
6 | 6 | | |
7 | - = help: the default ABI is C | |
8 | 7 | = note: requested on the command line with `-D missing-abi` |
9 | 8 | |
10 | 9 | error: aborting due to 1 previous error |