fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0720]: cannot resolve opaque type 2 --> $DIR/infinite-impl-trait-issue-38064.rs:8:13 3 | 4LL | fn foo() -> impl Quux { 5 | ^^^^^^^^^ recursive opaque type 6... 7LL | Foo(bar()) 8 | ---------- returning here with type `Foo<impl Quux>` 9... 10LL | fn bar() -> impl Quux { 11 | --------- returning this type `Foo<impl Quux>` 12 13error[E0720]: cannot resolve opaque type 14 --> $DIR/infinite-impl-trait-issue-38064.rs:14:13 15 | 16LL | fn foo() -> impl Quux { 17 | --------- returning this type `Bar<impl Quux>` 18... 19LL | fn bar() -> impl Quux { 20 | ^^^^^^^^^ recursive opaque type 21... 22LL | Bar(foo()) 23 | ---------- returning here with type `Bar<impl Quux>` 24 25error: aborting due to 2 previous errors 26 27For more information about this error, try `rustc --explain E0720`.