blob: ca8e43d8a26db004cc89ab076c38ba0e3614c1a4 (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0627]: yield expression outside of coroutine literal
--> $DIR/issue-91477.rs:4:5
|
LL | yield 1;
| ^^^^^^^
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0627`.
|