1 error[E0658]: yield syntax is experimental
2 --> $DIR/feature-gate-generators.rs:2:5
7 = note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
8 = help: add `#![feature(generators)]` to the crate attributes to enable
10 error[E0658]: yield syntax is experimental
11 --> $DIR/feature-gate-generators.rs:8:5
16 = note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
17 = help: add `#![feature(generators)]` to the crate attributes to enable
19 error[E0658]: yield syntax is experimental
20 --> $DIR/feature-gate-generators.rs:9:5
25 = note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
26 = help: add `#![feature(generators)]` to the crate attributes to enable
28 error[E0627]: yield expression outside of generator literal
29 --> $DIR/feature-gate-generators.rs:2:5
34 error: aborting due to 4 previous errors
36 Some errors have detailed explanations: E0627, E0658.
37 For more information about an error, try `rustc --explain E0627`.