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 64b245c commit 20645caCopy full SHA for 20645ca
core/src/ops/generator.rs
@@ -82,6 +82,7 @@ pub trait Generator<R = ()> {
82
/// `return` statement or implicitly as the last expression of a generator
83
/// literal. For example futures would use this as `Result<T, E>` as it
84
/// represents a completed future.
85
+ #[cfg_attr(not(bootstrap), lang = "generator_return")]
86
type Return;
87
88
/// Resumes the execution of this generator.
0 commit comments