diff options
Diffstat (limited to 'tests/codegen/coroutine-debug.rs')
| -rw-r--r-- | tests/codegen/coroutine-debug.rs | 2 |
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; |
