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