Skip to content

Commit

Permalink
Update tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ou-se committed Oct 31, 2024
1 parent cb26fa0 commit a433ea2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions tests/ui/lint/cli-lint-override.forbid_warn.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions tests/ui/lint/cli-lint-override.force_warn_deny.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions tests/ui/lint/cli-lint-override.warn_deny.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a433ea2

Please sign in to comment.