about summary refs log tree commit diff
path: root/tests/ui/optimization-remark.rs
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/optimization-remark.rs
parente53d6dd35bb38b81dff4b00497f4c152e9009499 (diff)
downloadrust-ec2cc761bc7067712ecc7734502f703fe3b024c8.tar.gz
rust-ec2cc761bc7067712ecc7734502f703fe3b024c8.zip
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
Diffstat (limited to 'tests/ui/optimization-remark.rs')
-rw-r--r--tests/ui/optimization-remark.rs20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/ui/optimization-remark.rs b/tests/ui/optimization-remark.rs
index 8fd30466f43..ebcf3b40ab2 100644
--- a/tests/ui/optimization-remark.rs
+++ b/tests/ui/optimization-remark.rs
@@ -1,20 +1,20 @@
-// build-pass
-// ignore-pass
-// revisions: all inline merge1 merge2
-// compile-flags: --crate-type=lib -Cdebuginfo=1 -Copt-level=2
+//@ build-pass
+//@ ignore-pass
+//@ revisions: all inline merge1 merge2
+//@ compile-flags: --crate-type=lib -Cdebuginfo=1 -Copt-level=2
 //
 // Check that remarks can be enabled individually or with "all":
 //
-// [all]    compile-flags: -Cremark=all
-// [inline] compile-flags: -Cremark=inline
+//@ [all]    compile-flags: -Cremark=all
+//@ [inline] compile-flags: -Cremark=inline
 //
 // Check that values of -Cremark flag are accumulated:
 //
-// [merge1] compile-flags: -Cremark=all    -Cremark=giraffe
-// [merge2] compile-flags: -Cremark=inline -Cremark=giraffe
+//@ [merge1] compile-flags: -Cremark=all    -Cremark=giraffe
+//@ [merge2] compile-flags: -Cremark=inline -Cremark=giraffe
 //
-// error-pattern: inline (missed): 'f' not inlined into 'g'
-// dont-check-compiler-stderr
+//@ error-pattern: inline (missed): 'f' not inlined into 'g'
+//@ dont-check-compiler-stderr
 
 #[no_mangle]
 #[inline(never)]