diff options
| author | 许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com> | 2024-02-16 20:02:50 +0000 |
|---|---|---|
| committer | 许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com> | 2024-02-16 20:02:50 +0000 |
| commit | ec2cc761bc7067712ecc7734502f703fe3b024c8 (patch) | |
| tree | 7ab55cd9562da45b86c959f1b98c199b2b03ca92 /tests/ui/lint/cli-lint-override.rs | |
| parent | e53d6dd35bb38b81dff4b00497f4c152e9009499 (diff) | |
| download | rust-ec2cc761bc7067712ecc7734502f703fe3b024c8.tar.gz rust-ec2cc761bc7067712ecc7734502f703fe3b024c8.zip | |
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
Diffstat (limited to 'tests/ui/lint/cli-lint-override.rs')
| -rw-r--r-- | tests/ui/lint/cli-lint-override.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/ui/lint/cli-lint-override.rs b/tests/ui/lint/cli-lint-override.rs index a0e853fc384..4b3fd0d9c01 100644 --- a/tests/ui/lint/cli-lint-override.rs +++ b/tests/ui/lint/cli-lint-override.rs @@ -1,12 +1,12 @@ // Tests that subsequent lints specified via the command line override // each other, except for ForceWarn and Forbid, which cannot be overridden. // -// revisions: warn_deny forbid_warn force_warn_deny +//@ revisions: warn_deny forbid_warn force_warn_deny // -//[warn_deny] compile-flags: --warn missing_abi --deny missing_abi -//[forbid_warn] compile-flags: --warn missing_abi --forbid missing_abi -//[force_warn_deny] compile-flags: --force-warn missing_abi --allow missing_abi -//[force_warn_deny] check-pass +//@[warn_deny] compile-flags: --warn missing_abi --deny missing_abi +//@[forbid_warn] compile-flags: --warn missing_abi --forbid missing_abi +//@[force_warn_deny] compile-flags: --force-warn missing_abi --allow missing_abi +//@[force_warn_deny] check-pass extern fn foo() {} |
