error[E0733]: recursion in an `async fn` requires boxing | |
--> $DIR/recursive-async-impl-trait-type.rs:7:40 | |
| | |
LL | async fn recursive_async_function() -> () { | |
| ^^ an `async fn` cannot invoke itself directly | |
| | |
= note: a recursive `async fn` must be rewritten to return a boxed future. | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0733`. |