@@ -4,28 +4,16 @@ error[E0391]: cycle detected when checking if `IMPL_REF_BAR` is a trivial const
44LL | const IMPL_REF_BAR: u32 = GlobalImplRef::BAR;
55 | ^^^^^^^^^^^^^^^^^^^^^^^
66 |
7- note: ...which requires building MIR for `IMPL_REF_BAR`...
8- --> $DIR/issue-24949-assoc-const-static-recursion-impl.rs:7:1
9- |
10- LL | const IMPL_REF_BAR: u32 = GlobalImplRef::BAR;
11- | ^^^^^^^^^^^^^^^^^^^^^^^
7+ = note: ...which requires building MIR for `IMPL_REF_BAR`...
128note: ...which requires checking if `<impl at $DIR/issue-24949-assoc-const-static-recursion-impl.rs:11:1: 11:19>::BAR` is a trivial const...
139 --> $DIR/issue-24949-assoc-const-static-recursion-impl.rs:12:5
1410 |
1511LL | const BAR: u32 = IMPL_REF_BAR;
1612 | ^^^^^^^^^^^^^^
17- note: ...which requires building MIR for `<impl at $DIR/issue-24949-assoc-const-static-recursion-impl.rs:11:1: 11:19>::BAR`...
18- --> $DIR/issue-24949-assoc-const-static-recursion-impl.rs:12:5
19- |
20- LL | const BAR: u32 = IMPL_REF_BAR;
21- | ^^^^^^^^^^^^^^
13+ = note: ...which requires building MIR for `<impl at $DIR/issue-24949-assoc-const-static-recursion-impl.rs:11:1: 11:19>::BAR`...
2214 = note: ...which again requires checking if `IMPL_REF_BAR` is a trivial const, completing the cycle
23- note: cycle used when simplifying constant for the type system `IMPL_REF_BAR`
24- --> $DIR/issue-24949-assoc-const-static-recursion-impl.rs:7:1
25- |
26- LL | const IMPL_REF_BAR: u32 = GlobalImplRef::BAR;
27- | ^^^^^^^^^^^^^^^^^^^^^^^
28- = 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
15+ = note: cycle used when simplifying constant for the type system `IMPL_REF_BAR`
16+ = note: for more information, see <https://rustc-dev-guide.rust-lang.org/overview.html#queries> and <https://rustc-dev-guide.rust-lang.org/query.html>
2917
3018error: aborting due to 1 previous error
3119
0 commit comments