So, I recently completed a major refactoring of my application. Now while trying to compile, I’m getting an ICE: issue #27602 (thread ‘rustc’ panicked at ‘assertion failed: index.end <= self.len()’, …/src/libcore/slice.rs:544)
(Link omitted since the forum software informs me that “Sorry, new users can only put 2 links in a post” even though I only had one link.)
What I’m looking for is some guidance on figuring out exactly what I need to do to identify which part of my code is tickling the issue. I’m perfectly willing to implement a workaround, but I literally don’t know where to start.
So, has anyone else been stuck on an ICE, and, if so, how did you go about getting unstuck?
(I’m willing to build and debug the compiler, but that’s a time sink I would very much rather avoid.)