thread 'rustc' panicked at compiler/rustc_middle/src/ty/sty.rs:363:36: called Option::unwrap()
on a None
value
#133687
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.
Hi,
While making a reverse-engineering framework, I seem to have found an issue with the incomplete
generic_const_exprs
feature, as there appears to be a conflict with traits.This ICE does not happen for usages within the same crate; merging
lib.rs
intomain.rs
will successfully compile.Code
lib.rs
:main.rs
:Meta
rustc --version --verbose
:Error output
Backtrace
rustc-ice-2024-11-30T19_19_35-1189533.txt
The text was updated successfully, but these errors were encountered: