Anonymous f64 generic parameters causes compiler panic #98813
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.
When anonymous value is used as generic parameter, the compiler panics with
thread 'rustc' panicked at 'Box<dyn Any>', compiler\rustc_errors\src\lib.rs:1425:13
.However if a value is bound to a const variable, it works.
Code
Meta
rustc --version --verbose
:Error output
The text was updated successfully, but these errors were encountered: