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/errors/remap-path-prefix-macro.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/errors/remap-path-prefix-macro.rs')
| -rw-r--r-- | tests/ui/errors/remap-path-prefix-macro.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/ui/errors/remap-path-prefix-macro.rs b/tests/ui/errors/remap-path-prefix-macro.rs index 0ba706b0a8f..665156027c9 100644 --- a/tests/ui/errors/remap-path-prefix-macro.rs +++ b/tests/ui/errors/remap-path-prefix-macro.rs @@ -1,10 +1,10 @@ -// run-pass -// check-run-results +//@ run-pass +//@ check-run-results -// revisions: normal with-macro-scope without-macro-scope -// compile-flags: --remap-path-prefix={{src-base}}=remapped -// [with-macro-scope]compile-flags: -Zremap-path-scope=macro,diagnostics -// [without-macro-scope]compile-flags: -Zremap-path-scope=diagnostics +//@ revisions: normal with-macro-scope without-macro-scope +//@ compile-flags: --remap-path-prefix={{src-base}}=remapped +//@ [with-macro-scope]compile-flags: -Zremap-path-scope=macro,diagnostics +//@ [without-macro-scope]compile-flags: -Zremap-path-scope=diagnostics // no-remap-src-base: Manually remap, so the remapped path remains in .stderr file. fn main() { |
