fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
913 B22 linesraw
1error[E0391]: cycle detected when simplifying constant for the type system `Y::A::{constant#0}`
2  --> $DIR/issue-23302-2.rs:4:9
3   |
4LL |     A = Y::B as isize,
5   |         ^^^^^^^^^^^^^
6   |
7note: ...which requires const-evaluating + checking `Y::A::{constant#0}`...
8  --> $DIR/issue-23302-2.rs:4:9
9   |
10LL |     A = Y::B as isize,
11   |         ^^^^^^^^^^^^^
12   = note: ...which again requires simplifying constant for the type system `Y::A::{constant#0}`, completing the cycle
13note: cycle used when simplifying constant for the type system `Y::A::{constant#0}`
14  --> $DIR/issue-23302-2.rs:4:9
15   |
16LL |     A = Y::B as isize,
17   |         ^^^^^^^^^^^^^
18   = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
19
20error: aborting due to previous error
21
22For more information about this error, try `rustc --explain E0391`.