about summary refs log tree commit diff
path: root/tests/codegen/coroutine-debug-msvc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/coroutine-debug-msvc.rs')
-rw-r--r--tests/codegen/coroutine-debug-msvc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/coroutine-debug-msvc.rs b/tests/codegen/coroutine-debug-msvc.rs
index fb1b46fe497..e2296db1d59 100644
--- a/tests/codegen/coroutine-debug-msvc.rs
+++ b/tests/codegen/coroutine-debug-msvc.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;