ICE on nightly: thread 'rustc' panicked at 'called Option::unwrap()
on a None
value', compiler/rustc_middle/src/ty/query/mod.rs:235:5
#79782
Labels
A-incr-comp
Area: Incremental compilation
A-metadata
Area: Crate metadata
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.
Just like #79779 which I reported a few hours ago, it is a spurious bug, running
cargo clean
and thencargo run
clears the ICE.However, it doesn't really look like this bug is related to the one I just reported before.
It also comes from a different crate I'm working on.
Code
This is some WIP/playground code, please don't judge :-)
Meta
rustc --version --verbose
:Error output
The text was updated successfully, but these errors were encountered: