[ICE]: None
in compiler/rustc_middle/src/ty/sty.rs
#129882
Labels
C-bug
Category: This is a bug.
F-generic_const_exprs
`#![feature(generic_const_exprs)]`
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.
Code
Here is a reproduction repository
Affected release channels
Rust Version
Backtrace
Anything else?
Issue is solved when
generic_const_exprs
is enabled in thecompile
crate. In other words, when a dependency requiresgeneric_const_exprs
but it is not set in the current library, this ICE occurs.I'm guessing this is related to #125958 based on the other issues i've seen.
EDIT1: Updated to latest nightly
EDIT2: Added actual code example instead of just repository
EDIT3: Made backtrace collapsible and removed error output
The text was updated successfully, but these errors were encountered: