about summary refs log tree commit diff
path: root/tests/mir-opt/building/async_await.rs
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com>2024-02-22 12:10:29 +0000
committer许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com>2024-02-22 16:04:04 +0000
commit6e48b96692d63a79a14563f27fe5185f122434f8 (patch)
tree171bd5869f5d38c5b2b5d8e6dae91884cde9a173 /tests/mir-opt/building/async_await.rs
parentcbf10affb04c701c58087f450f63e769ad25f3c4 (diff)
downloadrust-6e48b96692d63a79a14563f27fe5185f122434f8.tar.gz
rust-6e48b96692d63a79a14563f27fe5185f122434f8.zip
[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives
Diffstat (limited to 'tests/mir-opt/building/async_await.rs')
-rw-r--r--tests/mir-opt/building/async_await.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mir-opt/building/async_await.rs b/tests/mir-opt/building/async_await.rs
index abdeafef6e4..6c44570d109 100644
--- a/tests/mir-opt/building/async_await.rs
+++ b/tests/mir-opt/building/async_await.rs
@@ -3,8 +3,8 @@
 // `get_context`, and that the MIR argument type for an async fn and all locals
 // related to `yield` are `&mut Context`, and its return type is `Poll`.
 
-// edition:2018
-// compile-flags: -C panic=abort
+//@ edition:2018
+//@ compile-flags: -C panic=abort
 
 #![crate_type = "lib"]