1 error[E0391]: cycle detected when simplifying constant for the type system `A`
2 --> $DIR/issue-23302-3.rs:1:1
7 note: ...which requires simplifying constant for the type system `A`...
8 --> $DIR/issue-23302-3.rs:1:1
10 LL | const A: i32 = B;
12 note: ...which requires const-evaluating + checking `A`...
13 --> $DIR/issue-23302-3.rs:1:1
15 LL | const A: i32 = B;
17 = note: ...which requires normalizing `B`...
18 note: ...which requires simplifying constant for the type system `B`...
19 --> $DIR/issue-23302-3.rs:3:1
21 LL | const B: i32 = A;
23 note: ...which requires simplifying constant for the type system `B`...
24 --> $DIR/issue-23302-3.rs:3:1
26 LL | const B: i32 = A;
28 note: ...which requires const-evaluating + checking `B`...
29 --> $DIR/issue-23302-3.rs:3:1
31 LL | const B: i32 = A;
33 = note: ...which requires normalizing `A`...
34 = note: ...which again requires simplifying constant for the type system `A`, completing the cycle
35 = note: cycle used when running analysis passes on this crate
37 error: aborting due to previous error
39 For more information about this error, try `rustc --explain E0391`.