ICE: Failed to extract DefId: opt_local_def_id_to_hir_id
after renaming a struct
#116023
Labels
A-incr-comp
Area: Incremental compilation
C-bug
Category: This is a bug.
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
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.
The problem occurs when compiling after renaming a struct.
The first compilation succeeds, but any subsequent changes to the struct name result in errors.
It is necessary to clean the target and recompile in order to pass.
Code
Meta
rustc --version --verbose
:with dependencies
shuttle-runtime = "0.26.0"
tokio = "1"
Error output
Backtrace
The text was updated successfully, but these errors were encountered: