|
| 1 | +error[E0391]: cycle detected when building an abstract representation for `lib::<impl at $DIR/issue-97007.rs:55:5: 55:81>::proceed_to::{constant#0}` |
| 2 | + --> $DIR/issue-97007.rs:58:25 |
| 3 | + | |
| 4 | +LL | ) -> Walk<NEXT, { walk(REMAINING, CURRENT, NEXT) }> { |
| 5 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 6 | + | |
| 7 | +note: ...which requires building THIR for `lib::<impl at $DIR/issue-97007.rs:55:5: 55:81>::proceed_to::{constant#0}`... |
| 8 | + --> $DIR/issue-97007.rs:58:25 |
| 9 | + | |
| 10 | +LL | ) -> Walk<NEXT, { walk(REMAINING, CURRENT, NEXT) }> { |
| 11 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 12 | +note: ...which requires type-checking `lib::<impl at $DIR/issue-97007.rs:55:5: 55:81>::proceed_to::{constant#0}`... |
| 13 | + --> $DIR/issue-97007.rs:58:25 |
| 14 | + | |
| 15 | +LL | ) -> Walk<NEXT, { walk(REMAINING, CURRENT, NEXT) }> { |
| 16 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 17 | + = note: ...which again requires building an abstract representation for `lib::<impl at $DIR/issue-97007.rs:55:5: 55:81>::proceed_to::{constant#0}`, completing the cycle |
| 18 | +note: cycle used when checking that `lib::<impl at $DIR/issue-97007.rs:55:5: 55:81>::proceed_to` is well-formed |
| 19 | + --> $DIR/issue-97007.rs:56:9 |
| 20 | + | |
| 21 | +LL | / pub fn proceed_to<const NEXT: usize>( |
| 22 | +LL | | self, |
| 23 | +LL | | ) -> Walk<NEXT, { walk(REMAINING, CURRENT, NEXT) }> { |
| 24 | + | |___________________________________________________________^ |
| 25 | + |
| 26 | +error: aborting due to previous error |
| 27 | + |
| 28 | +For more information about this error, try `rustc --explain E0391`. |
0 commit comments