rustc panicked, called Option::unwrap on None in DefPathTable::local_def_path_hash_to_def_id #89260
Labels
A-incr-comp
Area: Incremental compilation
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.
This has happened to me twice today on the at-the-time current nightly, first time I ran
cargo clean
and the error went away and this time I ran a different nightly while trying to find out more and that also made the error go away.To me it seems to be related to some on-disk cache so it might be relevant that it happened while I was running rust-analyzer and both rustc and rustdoc on every file change and they'd race each time who gets to run first.
Code
This doesn't seem to be caused by the code itself, if I undo my last change before the crash appears it persists and it goes away with
cargo clean
without any change to code.Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: