mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
aef0f4024a
And suggest adding the `#[coroutine]` to the closure
12 lines
359 B
Plaintext
12 lines
359 B
Plaintext
error[E0733]: recursion in a coroutine requires boxing
|
|
--> $DIR/recursive-coroutine-indirect.rs:11:18
|
|
|
|
|
LL | #[coroutine] move || {
|
|
| ^^^^^^^
|
|
LL | let x = coroutine_hold();
|
|
| - recursive call here
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0733`.
|