fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
520 B16 linesraw
1error[E0391]: cycle detected when const checking `Y::A::{{constant}}#0`
2  --> $DIR/issue-23302-2.rs:4:9
3   |
4LL |     A = Y::B as isize,
5   |         ^^^^^^^^^^^^^
6   |
7   = note: ...which again requires const checking `Y::A::{{constant}}#0`, completing the cycle
8note: cycle used when processing `Y::A::{{constant}}#0`
9  --> $DIR/issue-23302-2.rs:4:9
10   |
11LL |     A = Y::B as isize,
12   |         ^^^^^^^^^^^^^
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0391`.