ICE when normalizing associated types with generic_const_exprs
cross-crate
#89355
Labels
A-const-generics
Area: const generics (parameters and arguments)
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.
The following code ICEs. Strangely enough, it works perfectly well when used within a single crate, but attempting to use the first snippet from a crate other than its own will ICE.
Code
in
src/lib.rs
in
tests/test.rs
Meta
rustc --version --verbose
:Error output
The output of
cargo test -- --test
isThe text was updated successfully, but these errors were encountered: