diff options
| author | Obei Sideg <obei.sideg@gmail.com> | 2025-04-08 05:31:24 +0300 |
|---|---|---|
| committer | Obei Sideg <obei.sideg@gmail.com> | 2025-04-16 22:44:02 +0300 |
| commit | d17c04e4a220d6f7bf170eeb0f90498e215555fa (patch) | |
| tree | d006735275ed361d4df81f87d0cc50c2cc53dbcb /tests/ui/lint/cli-lint-override.rs | |
| parent | 01cfa9aad5d8de34f968f41ef196e0cb0292a942 (diff) | |
| download | rust-d17c04e4a220d6f7bf170eeb0f90498e215555fa.tar.gz rust-d17c04e4a220d6f7bf170eeb0f90498e215555fa.zip | |
Add test for `extern` without explicit ABI
Diffstat (limited to 'tests/ui/lint/cli-lint-override.rs')
| -rw-r--r-- | tests/ui/lint/cli-lint-override.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/lint/cli-lint-override.rs b/tests/ui/lint/cli-lint-override.rs index 4b3fd0d9c01..b733872166a 100644 --- a/tests/ui/lint/cli-lint-override.rs +++ b/tests/ui/lint/cli-lint-override.rs @@ -10,8 +10,8 @@ extern fn foo() {} -//[warn_deny]~^ ERROR extern declarations without an explicit ABI are deprecated -//[forbid_warn]~^^ ERROR extern declarations without an explicit ABI are deprecated -//[force_warn_deny]~^^^ WARN extern declarations without an explicit ABI are deprecated +//[warn_deny]~^ ERROR `extern` declarations without an explicit ABI are deprecated +//[forbid_warn]~^^ ERROR `extern` declarations without an explicit ABI are deprecated +//[force_warn_deny]~^^^ WARN `extern` declarations without an explicit ABI are deprecated fn main() {} |
