2019-04-10 18:40:12 -05:00
|
|
|
error[E0658]: yield syntax is experimental
|
2023-10-23 06:34:27 -05:00
|
|
|
--> $DIR/feature-gate-coroutines.rs:5:5
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | yield true;
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
2020-02-07 06:07:02 -06:00
|
|
|
= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
|
2023-10-19 16:46:28 -05:00
|
|
|
= help: add `#![feature(coroutines)]` to the crate attributes to enable
|
2024-01-10 00:39:02 -06:00
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-08-13 22:44:32 -05:00
|
|
|
error[E0658]: yield syntax is experimental
|
2023-10-23 09:29:00 -05:00
|
|
|
--> $DIR/feature-gate-coroutines.rs:9:16
|
2023-10-23 06:34:27 -05:00
|
|
|
|
|
|
|
|
LL | let _ = || yield true;
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
|
|
|
|
= help: add `#![feature(coroutines)]` to the crate attributes to enable
|
2024-01-10 00:39:02 -06:00
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
2023-10-23 06:34:27 -05:00
|
|
|
|
|
|
|
error[E0658]: yield syntax is experimental
|
2023-10-23 09:29:00 -05:00
|
|
|
--> $DIR/feature-gate-coroutines.rs:16:5
|
2019-08-13 22:44:32 -05:00
|
|
|
|
|
|
|
|
LL | yield;
|
|
|
|
| ^^^^^
|
|
|
|
|
|
2020-02-07 06:07:02 -06:00
|
|
|
= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
|
2023-10-19 16:46:28 -05:00
|
|
|
= help: add `#![feature(coroutines)]` to the crate attributes to enable
|
2024-01-10 00:39:02 -06:00
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
2019-08-13 22:44:32 -05:00
|
|
|
|
|
|
|
error[E0658]: yield syntax is experimental
|
2023-10-23 09:29:00 -05:00
|
|
|
--> $DIR/feature-gate-coroutines.rs:17:5
|
2019-08-13 22:44:32 -05:00
|
|
|
|
|
|
|
|
LL | yield 0;
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
2020-02-07 06:07:02 -06:00
|
|
|
= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
|
2023-10-19 16:46:28 -05:00
|
|
|
= help: add `#![feature(coroutines)]` to the crate attributes to enable
|
2024-01-10 00:39:02 -06:00
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
2019-08-13 22:44:32 -05:00
|
|
|
|
2023-10-23 09:29:00 -05:00
|
|
|
error[E0658]: yield syntax is experimental
|
|
|
|
--> $DIR/feature-gate-coroutines.rs:5:5
|
|
|
|
|
|
|
|
|
LL | yield true;
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
|
|
|
|
= help: add `#![feature(coroutines)]` to the crate attributes to enable
|
2024-01-10 00:39:02 -06:00
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
2023-10-23 09:29:00 -05:00
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
|
|
|
|
|
|
|
error[E0658]: yield syntax is experimental
|
|
|
|
--> $DIR/feature-gate-coroutines.rs:9:16
|
|
|
|
|
|
|
|
|
LL | let _ = || yield true;
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
|
|
|
|
= help: add `#![feature(coroutines)]` to the crate attributes to enable
|
2024-01-10 00:39:02 -06:00
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
2023-10-23 09:29:00 -05:00
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
|
|
|
|
2023-10-19 16:46:28 -05:00
|
|
|
error[E0627]: yield expression outside of coroutine literal
|
2023-10-23 06:34:27 -05:00
|
|
|
--> $DIR/feature-gate-coroutines.rs:5:5
|
2019-01-02 08:14:24 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | yield true;
|
2019-01-02 08:14:24 -06:00
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
2023-10-23 09:29:00 -05:00
|
|
|
error: aborting due to 7 previous errors
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-12-23 07:07:13 -06:00
|
|
|
Some errors have detailed explanations: E0627, E0658.
|
|
|
|
For more information about an error, try `rustc --explain E0627`.
|