fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
631 B19 linesraw
1error[E0720]: opaque type expands to a recursive type
2  --> $DIR/infinite-impl-trait-issue-38064.rs:8:13
3   |
4LL | fn foo() -> impl Quux {
5   |             ^^^^^^^^^ expands to a recursive type
6   |
7   = note: expanded type is `foo::Foo<bar::Bar<impl Quux>>`
8
9error[E0720]: opaque type expands to a recursive type
10  --> $DIR/infinite-impl-trait-issue-38064.rs:14:13
11   |
12LL | fn bar() -> impl Quux {
13   |             ^^^^^^^^^ expands to a recursive type
14   |
15   = note: expanded type is `bar::Bar<foo::Foo<impl Quux>>`
16
17error: aborting due to 2 previous errors
18
19For more information about this error, try `rustc --explain E0720`.