cargo test
panics: no MIR available for DefId
#96934
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.
Edit: added reproducible example
Code
This is a minimal (i think) example of a crate that makes Cargo panic.
lib.rs:
examples/example.rs
Test or run the example to get the panic:
Meta
Reproduced on both stable and nightly. I'm on linux but CI tells me this also occurs on Windows and MacOS.
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: