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