about summary refs log tree commit diff
path: root/tests/ui/std
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/std
parente53d6dd35bb38b81dff4b00497f4c152e9009499 (diff)
downloadrust-ec2cc761bc7067712ecc7734502f703fe3b024c8.tar.gz
rust-ec2cc761bc7067712ecc7734502f703fe3b024c8.zip
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
Diffstat (limited to 'tests/ui/std')
-rw-r--r--tests/ui/std/issue-81357-unsound-file-methods.rs4
-rw-r--r--tests/ui/std/slice-from-array-issue-113238.rs2
-rw-r--r--tests/ui/std/stdio-from.rs4
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/ui/std/issue-81357-unsound-file-methods.rs b/tests/ui/std/issue-81357-unsound-file-methods.rs
index fdf1150f8d2..838df40c32d 100644
--- a/tests/ui/std/issue-81357-unsound-file-methods.rs
+++ b/tests/ui/std/issue-81357-unsound-file-methods.rs
@@ -1,5 +1,5 @@
-// run-fail
-// only-windows
+//@ run-fail
+//@ only-windows
 
 fn main() {
     use std::fs;
diff --git a/tests/ui/std/slice-from-array-issue-113238.rs b/tests/ui/std/slice-from-array-issue-113238.rs
index e9e1bfb8db3..44f2d7a9478 100644
--- a/tests/ui/std/slice-from-array-issue-113238.rs
+++ b/tests/ui/std/slice-from-array-issue-113238.rs
@@ -1,4 +1,4 @@
-// check-pass
+//@ check-pass
 
 // This intends to use the unsizing coercion from array to slice, but it only
 // works if we resolve `<&[u8]>::from` as the reflexive `From<T> for T`. In
diff --git a/tests/ui/std/stdio-from.rs b/tests/ui/std/stdio-from.rs
index fef9f27fcdf..f3d2cec2d0b 100644
--- a/tests/ui/std/stdio-from.rs
+++ b/tests/ui/std/stdio-from.rs
@@ -1,5 +1,5 @@
-// run-pass
-// ignore-cross-compile
+//@ run-pass
+//@ ignore-cross-compile
 
 use std::env;
 use std::fs::File;