fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0275]: overflow evaluating the requirement `<FooStruct as Foo>::A` 2 --> $DIR/issue-21946.rs:7:6 3 | 4LL | impl Foo for FooStruct { 5 | ^^^ 6 7error[E0275]: overflow evaluating the requirement `<FooStruct as Foo>::A` 8 --> $DIR/issue-21946.rs:9:5 9 | 10LL | type A = <FooStruct as Foo>::A; 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12 13error: aborting due to 2 previous errors 14 15For more information about this error, try `rustc --explain E0275`.