about summary refs log tree commit diff
path: root/tests/ui/const-generics/backcompat
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/backcompat
parente53d6dd35bb38b81dff4b00497f4c152e9009499 (diff)
downloadrust-ec2cc761bc7067712ecc7734502f703fe3b024c8.tar.gz
rust-ec2cc761bc7067712ecc7734502f703fe3b024c8.zip
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
Diffstat (limited to 'tests/ui/const-generics/backcompat')
-rw-r--r--tests/ui/const-generics/backcompat/trait-resolution-breakage.rs2
-rw-r--r--tests/ui/const-generics/backcompat/unevaluated-consts.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/const-generics/backcompat/trait-resolution-breakage.rs b/tests/ui/const-generics/backcompat/trait-resolution-breakage.rs
index df1c99e8671..2e070329a49 100644
--- a/tests/ui/const-generics/backcompat/trait-resolution-breakage.rs
+++ b/tests/ui/const-generics/backcompat/trait-resolution-breakage.rs
@@ -1,4 +1,4 @@
-// check-pass
+//@ check-pass
 
 trait Trait<T> {
     const ASSOC_CONST: usize = 0;
diff --git a/tests/ui/const-generics/backcompat/unevaluated-consts.rs b/tests/ui/const-generics/backcompat/unevaluated-consts.rs
index 3f90d22ae2d..ec9f35e0513 100644
--- a/tests/ui/const-generics/backcompat/unevaluated-consts.rs
+++ b/tests/ui/const-generics/backcompat/unevaluated-consts.rs
@@ -1,4 +1,4 @@
-// check-pass
+//@ check-pass
 
 // If we allow the parent generics here without using lazy normalization
 // this results in a cycle error.