fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
456 B15 linesraw
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`.