Internal Compiler Error: 'rustc' panicked at 'failed to lookup SourceFile
in new context'
#92235
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I've gotten an Internal Compiler Error.
I was changing a &str constant in a test case and suddenly the error logged below popped up.
It seems to me as the error is somehow related to cargo/rustc caching for incremental compile.
Code
Before error:
Threw error:
Since this should have nothing to do with the error itself, I doubt I can create a reliable minimal working example.
Meta
rustc --version --verbose
:Error output
The text was updated successfully, but these errors were encountered: