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/diagnostic-flags | |
| parent | e53d6dd35bb38b81dff4b00497f4c152e9009499 (diff) | |
| download | rust-ec2cc761bc7067712ecc7734502f703fe3b024c8.tar.gz rust-ec2cc761bc7067712ecc7734502f703fe3b024c8.zip | |
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
Diffstat (limited to 'tests/ui/diagnostic-flags')
| -rw-r--r-- | tests/ui/diagnostic-flags/colored-session-opt-error.rs | 6 | ||||
| -rw-r--r-- | tests/ui/diagnostic-flags/terminal_urls.rs | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/diagnostic-flags/colored-session-opt-error.rs b/tests/ui/diagnostic-flags/colored-session-opt-error.rs index b9f47285c14..c8568eff325 100644 --- a/tests/ui/diagnostic-flags/colored-session-opt-error.rs +++ b/tests/ui/diagnostic-flags/colored-session-opt-error.rs @@ -1,4 +1,4 @@ -// check-pass -// ignore-windows -// compile-flags: -Cremark=foo --error-format=human --color always +//@ check-pass +//@ ignore-windows +//@ compile-flags: -Cremark=foo --error-format=human --color always fn main() {} diff --git a/tests/ui/diagnostic-flags/terminal_urls.rs b/tests/ui/diagnostic-flags/terminal_urls.rs index 1f04e2aade1..3c74e992395 100644 --- a/tests/ui/diagnostic-flags/terminal_urls.rs +++ b/tests/ui/diagnostic-flags/terminal_urls.rs @@ -1,4 +1,4 @@ -// compile-flags: -Zterminal-urls=yes +//@ compile-flags: -Zterminal-urls=yes fn main() { let () = 4; //~ ERROR } |
