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