rust/src/test/ui/generator/yield-in-function.stderr

10 lines
269 B
Plaintext
Raw Normal View History

2017-08-09 18:37:56 -05:00
error[E0627]: yield statement outside of generator literal
--> $DIR/yield-in-function.rs:13:13
|
13 | fn main() { yield; }
| ^^^^^
error: aborting due to previous error
2018-02-19 14:40:25 -06:00
If you want more information on this error, try using "rustc --explain E0627"