about summary refs log tree commit diff
path: root/tests/ui/stats
diff options
context:
space:
mode:
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
commitec2cc761bc7067712ecc7734502f703fe3b024c8 (patch)
tree7ab55cd9562da45b86c959f1b98c199b2b03ca92 /tests/ui/stats
parente53d6dd35bb38b81dff4b00497f4c152e9009499 (diff)
downloadrust-ec2cc761bc7067712ecc7734502f703fe3b024c8.tar.gz
rust-ec2cc761bc7067712ecc7734502f703fe3b024c8.zip
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
Diffstat (limited to 'tests/ui/stats')
-rw-r--r--tests/ui/stats/hir-stats.rs6
-rw-r--r--tests/ui/stats/meta-stats.rs6
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/ui/stats/hir-stats.rs b/tests/ui/stats/hir-stats.rs
index 9bb87026b64..249413d80e8 100644
--- a/tests/ui/stats/hir-stats.rs
+++ b/tests/ui/stats/hir-stats.rs
@@ -1,6 +1,6 @@
-// check-pass
-// compile-flags: -Zhir-stats
-// only-x86_64
+//@ check-pass
+//@ compile-flags: -Zhir-stats
+//@ only-x86_64
 
 // Type layouts sometimes change. When that happens, until the next bootstrap
 // bump occurs, stage1 and stage2 will give different outputs for this test.
diff --git a/tests/ui/stats/meta-stats.rs b/tests/ui/stats/meta-stats.rs
index 2d38e088286..5176dd0f467 100644
--- a/tests/ui/stats/meta-stats.rs
+++ b/tests/ui/stats/meta-stats.rs
@@ -1,6 +1,6 @@
-// build-pass
-// dont-check-compiler-stderr
-// compile-flags: -Zmeta-stats
+//@ build-pass
+//@ dont-check-compiler-stderr
+//@ compile-flags: -Zmeta-stats
 
 #![crate_type = "lib"]