blob: a562555ee79d969d90bb51339e4359855a46c7fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
error[E0658]: yield syntax is experimental
--> $DIR/yield_in_nested_fn.rs:6:13
|
6 | yield "hello";
| ^^^^^^^^^^^^^
|
= note: see issue #43122 <https://github.com/rust-lang/rust/issues/43122> for more information
error[E0627]: yield expression outside of generator literal
--> $DIR/yield_in_nested_fn.rs:6:13
|
6 | yield "hello";
| ^^^^^^^^^^^^^
Some errors have detailed explanations: E0627, E0658.
For more information about an error, try `rustc --explain E0627`.
|