about summary refs log tree commit diff
path: root/tests/ui/const-generics/array-impls
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/const-generics/array-impls
parente53d6dd35bb38b81dff4b00497f4c152e9009499 (diff)
downloadrust-ec2cc761bc7067712ecc7734502f703fe3b024c8.tar.gz
rust-ec2cc761bc7067712ecc7734502f703fe3b024c8.zip
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
Diffstat (limited to 'tests/ui/const-generics/array-impls')
-rw-r--r--tests/ui/const-generics/array-impls/alloc-traits-impls-length-32.rs2
-rw-r--r--tests/ui/const-generics/array-impls/alloc-traits-impls-length-33.rs2
-rw-r--r--tests/ui/const-generics/array-impls/alloc-types-impls-length-33.rs2
-rw-r--r--tests/ui/const-generics/array-impls/core-traits-impls-length-32.rs2
-rw-r--r--tests/ui/const-generics/array-impls/core-traits-impls-length-33.rs2
-rw-r--r--tests/ui/const-generics/array-impls/into-iter-impls-length-32.rs2
-rw-r--r--tests/ui/const-generics/array-impls/into-iter-impls-length-33.rs2
7 files changed, 7 insertions, 7 deletions
diff --git a/tests/ui/const-generics/array-impls/alloc-traits-impls-length-32.rs b/tests/ui/const-generics/array-impls/alloc-traits-impls-length-32.rs
index b4a083636b6..dc28b86ecee 100644
--- a/tests/ui/const-generics/array-impls/alloc-traits-impls-length-32.rs
+++ b/tests/ui/const-generics/array-impls/alloc-traits-impls-length-32.rs
@@ -1,4 +1,4 @@
-// check-pass
+//@ check-pass
 
 pub fn yes_vec_partial_eq_array<A, B>() -> impl PartialEq<[B; 32]>
 where
diff --git a/tests/ui/const-generics/array-impls/alloc-traits-impls-length-33.rs b/tests/ui/const-generics/array-impls/alloc-traits-impls-length-33.rs
index 35df3278a6e..3c1fd09dc0f 100644
--- a/tests/ui/const-generics/array-impls/alloc-traits-impls-length-33.rs
+++ b/tests/ui/const-generics/array-impls/alloc-traits-impls-length-33.rs
@@ -1,4 +1,4 @@
-// check-pass
+//@ check-pass
 
 pub fn yes_vec_partial_eq_array<A, B>() -> impl PartialEq<[B; 33]>
 where
diff --git a/tests/ui/const-generics/array-impls/alloc-types-impls-length-33.rs b/tests/ui/const-generics/array-impls/alloc-types-impls-length-33.rs
index 294b405e0ed..ac64ff5d14c 100644
--- a/tests/ui/const-generics/array-impls/alloc-types-impls-length-33.rs
+++ b/tests/ui/const-generics/array-impls/alloc-types-impls-length-33.rs
@@ -1,4 +1,4 @@
-// check-pass
+//@ check-pass
 
 use std::{convert::TryFrom, rc::Rc, sync::Arc};
 
diff --git a/tests/ui/const-generics/array-impls/core-traits-impls-length-32.rs b/tests/ui/const-generics/array-impls/core-traits-impls-length-32.rs
index 9998bb84ca0..fa907e3cae7 100644
--- a/tests/ui/const-generics/array-impls/core-traits-impls-length-32.rs
+++ b/tests/ui/const-generics/array-impls/core-traits-impls-length-32.rs
@@ -1,4 +1,4 @@
-// check-pass
+//@ check-pass
 
 pub fn yes_as_ref() -> impl AsRef<[u8]> {
     [0; 32]
diff --git a/tests/ui/const-generics/array-impls/core-traits-impls-length-33.rs b/tests/ui/const-generics/array-impls/core-traits-impls-length-33.rs
index c609a7c6f92..768eb6308ce 100644
--- a/tests/ui/const-generics/array-impls/core-traits-impls-length-33.rs
+++ b/tests/ui/const-generics/array-impls/core-traits-impls-length-33.rs
@@ -1,4 +1,4 @@
-// check-pass
+//@ check-pass
 
 pub fn yes_as_ref() -> impl AsRef<[u8]> {
     [0; 33]
diff --git a/tests/ui/const-generics/array-impls/into-iter-impls-length-32.rs b/tests/ui/const-generics/array-impls/into-iter-impls-length-32.rs
index 457e5ae6049..b9e1af3690b 100644
--- a/tests/ui/const-generics/array-impls/into-iter-impls-length-32.rs
+++ b/tests/ui/const-generics/array-impls/into-iter-impls-length-32.rs
@@ -1,4 +1,4 @@
-// check-pass
+//@ check-pass
 
 #![feature(trusted_len)]
 
diff --git a/tests/ui/const-generics/array-impls/into-iter-impls-length-33.rs b/tests/ui/const-generics/array-impls/into-iter-impls-length-33.rs
index 4f343f3f97e..17b2a709f85 100644
--- a/tests/ui/const-generics/array-impls/into-iter-impls-length-33.rs
+++ b/tests/ui/const-generics/array-impls/into-iter-impls-length-33.rs
@@ -1,4 +1,4 @@
-// check-pass
+//@ check-pass
 
 #![feature(trusted_len)]