Failed to normalize struct with generic const expression parameter as associated type #93946
Labels
C-bug
Category: This is a bug.
glacier
ICE tracked in rust-lang/glacier.
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
Meta
rustc --version --verbose
:Error output
Backtrace
One weird thing is that it only works if the offending code is in a subcrate, not in the main crate.
Example code is here: https://github.com/zyansheep/rust_const_rkyv_bug
The text was updated successfully, but these errors were encountered: