ICE on nightly: panicked at attempted .def_id() on invalid res
#90213
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-high
High priority
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
playground
On stable the code produces the following error as expected:
Expected result
Meta
rustc --version --verbose
:Error output
Backtrace
cargo-bisect
searched nightlies: from nightly-2021-10-04 to nightly-2021-10-23
regressed nightly: nightly-2021-10-16
searched commit range: e1e9319...c102653
regressed commit: 72d6606
bisected with cargo-bisect-rustc v0.6.1
Host triple: x86_64-pc-windows-msvc
Reproduce with:
The text was updated successfully, but these errors were encountered: