We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d58c1b commit df3e129Copy full SHA for df3e129
core/src/ops/coroutine.rs
@@ -111,6 +111,7 @@ pub trait Coroutine<R = ()> {
111
/// been returned previously. While coroutine literals in the language are
112
/// guaranteed to panic on resuming after `Complete`, this is not guaranteed
113
/// for all implementations of the `Coroutine` trait.
114
+ #[cfg_attr(not(bootstrap), lang = "coroutine_resume")]
115
fn resume(self: Pin<&mut Self>, arg: R) -> CoroutineState<Self::Yield, Self::Return>;
116
}
117
0 commit comments