about summary refs log tree commit diff
path: root/tests/ui/alloc-error
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/alloc-error
parente53d6dd35bb38b81dff4b00497f4c152e9009499 (diff)
downloadrust-ec2cc761bc7067712ecc7734502f703fe3b024c8.tar.gz
rust-ec2cc761bc7067712ecc7734502f703fe3b024c8.zip
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
Diffstat (limited to 'tests/ui/alloc-error')
-rw-r--r--tests/ui/alloc-error/alloc-error-handler-bad-signature-1.rs2
-rw-r--r--tests/ui/alloc-error/alloc-error-handler-bad-signature-2.rs2
-rw-r--r--tests/ui/alloc-error/alloc-error-handler-bad-signature-3.rs2
-rw-r--r--tests/ui/alloc-error/default-alloc-error-hook.rs6
4 files changed, 6 insertions, 6 deletions
diff --git a/tests/ui/alloc-error/alloc-error-handler-bad-signature-1.rs b/tests/ui/alloc-error/alloc-error-handler-bad-signature-1.rs
index cd06423e3a5..a50535ab726 100644
--- a/tests/ui/alloc-error/alloc-error-handler-bad-signature-1.rs
+++ b/tests/ui/alloc-error/alloc-error-handler-bad-signature-1.rs
@@ -1,4 +1,4 @@
-// compile-flags:-C panic=abort
+//@ compile-flags:-C panic=abort
 
 #![feature(alloc_error_handler)]
 #![no_std]
diff --git a/tests/ui/alloc-error/alloc-error-handler-bad-signature-2.rs b/tests/ui/alloc-error/alloc-error-handler-bad-signature-2.rs
index 4f76257fc72..4bd4ab4570c 100644
--- a/tests/ui/alloc-error/alloc-error-handler-bad-signature-2.rs
+++ b/tests/ui/alloc-error/alloc-error-handler-bad-signature-2.rs
@@ -1,4 +1,4 @@
-// compile-flags:-C panic=abort
+//@ compile-flags:-C panic=abort
 
 #![feature(alloc_error_handler)]
 #![no_std]
diff --git a/tests/ui/alloc-error/alloc-error-handler-bad-signature-3.rs b/tests/ui/alloc-error/alloc-error-handler-bad-signature-3.rs
index ea9ad39a70d..f0985d74456 100644
--- a/tests/ui/alloc-error/alloc-error-handler-bad-signature-3.rs
+++ b/tests/ui/alloc-error/alloc-error-handler-bad-signature-3.rs
@@ -1,4 +1,4 @@
-// compile-flags:-C panic=abort
+//@ compile-flags:-C panic=abort
 
 #![feature(alloc_error_handler)]
 #![no_std]
diff --git a/tests/ui/alloc-error/default-alloc-error-hook.rs b/tests/ui/alloc-error/default-alloc-error-hook.rs
index 8be09500f4e..a8a2027cc45 100644
--- a/tests/ui/alloc-error/default-alloc-error-hook.rs
+++ b/tests/ui/alloc-error/default-alloc-error-hook.rs
@@ -1,6 +1,6 @@
-// run-pass
-// ignore-emscripten no processes
-// ignore-sgx no processes
+//@ run-pass
+//@ ignore-emscripten no processes
+//@ ignore-sgx no processes
 
 use std::alloc::{Layout, handle_alloc_error};
 use std::env;