fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0658]: yield syntax is experimental 2 --> $DIR/feature-gate-generators.rs:2:5 3 | 4LL | yield true; 5 | ^^^^^^^^^^ 6 | 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 9 10error[E0658]: yield syntax is experimental 11 --> $DIR/feature-gate-generators.rs:8:5 12 | 13LL | yield; 14 | ^^^^^ 15 | 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 18 19error[E0658]: yield syntax is experimental 20 --> $DIR/feature-gate-generators.rs:9:5 21 | 22LL | yield 0; 23 | ^^^^^^^ 24 | 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 27 28error[E0627]: yield expression outside of generator literal 29 --> $DIR/feature-gate-generators.rs:2:5 30 | 31LL | yield true; 32 | ^^^^^^^^^^ 33 34error: aborting due to 4 previous errors 35 36Some errors have detailed explanations: E0627, E0658. 37For more information about an error, try `rustc --explain E0627`.