@@ -5,7 +5,7 @@ LL | yield true;
5
5
| ^^^^^^^^^^
6
6
|
7
7
= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
8
- = help: add `#![feature(coroutines )]` to the crate attributes to enable
8
+ = help: add `#![feature(yield_expr )]` to the crate attributes to enable
9
9
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
10
10
11
11
error[E0658]: yield syntax is experimental
@@ -15,7 +15,7 @@ LL | let _ = || yield true;
15
15
| ^^^^^^^^^^
16
16
|
17
17
= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
18
- = help: add `#![feature(coroutines )]` to the crate attributes to enable
18
+ = help: add `#![feature(yield_expr )]` to the crate attributes to enable
19
19
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
20
20
21
21
error[E0658]: yield syntax is experimental
@@ -25,7 +25,7 @@ LL | yield;
25
25
| ^^^^^
26
26
|
27
27
= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
28
- = help: add `#![feature(coroutines )]` to the crate attributes to enable
28
+ = help: add `#![feature(yield_expr )]` to the crate attributes to enable
29
29
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
30
30
31
31
error[E0658]: yield syntax is experimental
@@ -35,7 +35,7 @@ LL | yield 0;
35
35
| ^^^^^^^
36
36
|
37
37
= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
38
- = help: add `#![feature(coroutines )]` to the crate attributes to enable
38
+ = help: add `#![feature(yield_expr )]` to the crate attributes to enable
39
39
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
40
40
41
41
error[E0658]: yield syntax is experimental
0 commit comments