]> git.lizzy.rs Git - rust.git/blob - src/test/ui/async-await/recursive-async-impl-trait-type.stderr
abc9ff54bdee80088483e243efae69f8305c1736
[rust.git] / src / test / ui / async-await / recursive-async-impl-trait-type.stderr
1 error[E0720]: opaque type expands to a recursive type
2   --> $DIR/recursive-async-impl-trait-type.rs:7:40
3    |
4 LL | async fn recursive_async_function() -> () {
5    |                                        ^^ expands to self-referential type
6    |
7    = note: expanded type is `std::future::GenFuture<[static generator@$DIR/recursive-async-impl-trait-type.rs:7:43: 9:2 {impl std::future::Future, ()}]>`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0720`.