about summary refs log tree commit diff
path: root/tests/ui/half-open-range-patterns
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/half-open-range-patterns
parente53d6dd35bb38b81dff4b00497f4c152e9009499 (diff)
downloadrust-ec2cc761bc7067712ecc7734502f703fe3b024c8.tar.gz
rust-ec2cc761bc7067712ecc7734502f703fe3b024c8.zip
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
Diffstat (limited to 'tests/ui/half-open-range-patterns')
-rw-r--r--tests/ui/half-open-range-patterns/half-open-range-pats-exhaustive-pass.rs2
-rw-r--r--tests/ui/half-open-range-patterns/half-open-range-pats-semantics.rs2
-rw-r--r--tests/ui/half-open-range-patterns/half-open-range-pats-syntactic-pass.rs2
-rw-r--r--tests/ui/half-open-range-patterns/pat-tuple-4.rs2
-rw-r--r--tests/ui/half-open-range-patterns/range_pat_interactions0.rs2
-rw-r--r--tests/ui/half-open-range-patterns/slice_pattern_syntax_problem2.rs2
6 files changed, 6 insertions, 6 deletions
diff --git a/tests/ui/half-open-range-patterns/half-open-range-pats-exhaustive-pass.rs b/tests/ui/half-open-range-patterns/half-open-range-pats-exhaustive-pass.rs
index 4b7eee134e4..fe2db67013e 100644
--- a/tests/ui/half-open-range-patterns/half-open-range-pats-exhaustive-pass.rs
+++ b/tests/ui/half-open-range-patterns/half-open-range-pats-exhaustive-pass.rs
@@ -1,4 +1,4 @@
-// check-pass
+//@ check-pass
 
 // Test various exhaustive matches for `X..`, `..=X` and `..X` ranges.
 
diff --git a/tests/ui/half-open-range-patterns/half-open-range-pats-semantics.rs b/tests/ui/half-open-range-patterns/half-open-range-pats-semantics.rs
index d5af7bea543..03ff706fe6a 100644
--- a/tests/ui/half-open-range-patterns/half-open-range-pats-semantics.rs
+++ b/tests/ui/half-open-range-patterns/half-open-range-pats-semantics.rs
@@ -1,4 +1,4 @@
-// run-pass
+//@ run-pass
 
 // Test half-open range patterns against their expression equivalents
 // via `.contains(...)` and make sure the dynamic semantics match.
diff --git a/tests/ui/half-open-range-patterns/half-open-range-pats-syntactic-pass.rs b/tests/ui/half-open-range-patterns/half-open-range-pats-syntactic-pass.rs
index 9a73e89063f..98e8b2b0462 100644
--- a/tests/ui/half-open-range-patterns/half-open-range-pats-syntactic-pass.rs
+++ b/tests/ui/half-open-range-patterns/half-open-range-pats-syntactic-pass.rs
@@ -1,4 +1,4 @@
-// check-pass
+//@ check-pass
 
 // Test the parsing of half-open ranges.
 
diff --git a/tests/ui/half-open-range-patterns/pat-tuple-4.rs b/tests/ui/half-open-range-patterns/pat-tuple-4.rs
index 11c4ab9c5fc..95aae25ada8 100644
--- a/tests/ui/half-open-range-patterns/pat-tuple-4.rs
+++ b/tests/ui/half-open-range-patterns/pat-tuple-4.rs
@@ -1,4 +1,4 @@
-// check-pass
+//@ check-pass
 
 #![feature(exclusive_range_pattern)]
 
diff --git a/tests/ui/half-open-range-patterns/range_pat_interactions0.rs b/tests/ui/half-open-range-patterns/range_pat_interactions0.rs
index e6d5e64a15b..7a82f9ce89a 100644
--- a/tests/ui/half-open-range-patterns/range_pat_interactions0.rs
+++ b/tests/ui/half-open-range-patterns/range_pat_interactions0.rs
@@ -1,4 +1,4 @@
-// run-pass
+//@ run-pass
 #![feature(exclusive_range_pattern)]
 #![feature(inline_const_pat)]
 
diff --git a/tests/ui/half-open-range-patterns/slice_pattern_syntax_problem2.rs b/tests/ui/half-open-range-patterns/slice_pattern_syntax_problem2.rs
index 6e7df309491..62e67530fc7 100644
--- a/tests/ui/half-open-range-patterns/slice_pattern_syntax_problem2.rs
+++ b/tests/ui/half-open-range-patterns/slice_pattern_syntax_problem2.rs
@@ -1,4 +1,4 @@
-// run-pass
+//@ run-pass
 
 fn main() {
     let xs = [13, 1, 5, 2, 3, 1, 21, 8];