about summary refs log tree commit diff
path: root/tests/codegen/coroutine-debug.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-25 06:48:37 +0000
committerbors <bors@rust-lang.org>2024-04-25 06:48:37 +0000
commit9d7a47fe31c049d32989ee41efec61b57ea1a4e0 (patch)
tree32f82f6179297d50ad208b9e57d39171f8e1635f /tests/codegen/coroutine-debug.rs
parentc69c79d42a691b2f8402d18ec87fb0e0873f1bf2 (diff)
parent258e5043a156a87497f98d5220624545658aad0b (diff)
downloadrust-9d7a47fe31c049d32989ee41efec61b57ea1a4e0.tar.gz
rust-9d7a47fe31c049d32989ee41efec61b57ea1a4e0.zip
Auto merge of #3513 - rust-lang:rustup-2024-04-25, r=RalfJung
Automatic Rustup
Diffstat (limited to 'tests/codegen/coroutine-debug.rs')
-rw-r--r--tests/codegen/coroutine-debug.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/coroutine-debug.rs b/tests/codegen/coroutine-debug.rs
index 7eaee669559..914515f58b8 100644
--- a/tests/codegen/coroutine-debug.rs
+++ b/tests/codegen/coroutine-debug.rs
@@ -11,7 +11,7 @@
 use std::ops::Coroutine;
 
 fn coroutine_test() -> impl Coroutine<Yield = i32, Return = ()> {
-    || {
+    #[coroutine] || {
         yield 0;
         let s = String::from("foo");
         yield 1;