2019-04-10 16:40:12 -07:00
|
|
|
error[E0658]: yield syntax is experimental
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/feature-gate-generators.rs:2:5
|
2017-12-06 09:27:47 +01:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | yield true;
|
2017-12-06 09:27:47 +01:00
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
2020-02-07 13:07:02 +01:00
|
|
|
= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
|
2019-07-09 11:32:08 +02:00
|
|
|
= help: add `#![feature(generators)]` to the crate attributes to enable
|
2017-12-06 09:27:47 +01:00
|
|
|
|
2019-08-14 05:44:32 +02:00
|
|
|
error[E0658]: yield syntax is experimental
|
|
|
|
--> $DIR/feature-gate-generators.rs:8:5
|
|
|
|
|
|
|
|
|
LL | yield;
|
|
|
|
| ^^^^^
|
|
|
|
|
|
2020-02-07 13:07:02 +01:00
|
|
|
= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
|
2019-08-14 05:44:32 +02:00
|
|
|
= help: add `#![feature(generators)]` to the crate attributes to enable
|
|
|
|
|
|
|
|
error[E0658]: yield syntax is experimental
|
|
|
|
--> $DIR/feature-gate-generators.rs:9:5
|
|
|
|
|
|
|
|
|
LL | yield 0;
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
2020-02-07 13:07:02 +01:00
|
|
|
= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
|
2019-08-14 05:44:32 +02:00
|
|
|
= help: add `#![feature(generators)]` to the crate attributes to enable
|
|
|
|
|
2019-12-23 21:07:13 +08:00
|
|
|
error[E0627]: yield expression outside of generator literal
|
2019-01-02 17:14:24 +03:00
|
|
|
--> $DIR/feature-gate-generators.rs:2:5
|
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | yield true;
|
2019-01-02 17:14:24 +03:00
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
2019-08-14 05:44:32 +02:00
|
|
|
error: aborting due to 4 previous errors
|
2017-12-06 09:27:47 +01:00
|
|
|
|
2019-12-23 21:07:13 +08:00
|
|
|
Some errors have detailed explanations: E0627, E0658.
|
|
|
|
For more information about an error, try `rustc --explain E0627`.
|