thread 'rustc' panicked at 'f64 failed to parse 9E
: ParseFloatError { kind: Invalid }'
#91434
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) ❄️
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I'm seeing an internal compiler error on the following input, found by fuzz-rustc:
Code
Error output
The ICE happens after correctly reporting a malformed float error, so low priority. Note that slight modifications of the input fix the panic. For example using
0
instead ofh
results in no panic. Also there is no panic if compling only the string[9E; h]
. Affected versions: I tried nightly 2021-11-30 and stable 1.56.1 and they both show the same ICE.Backtrace
The text was updated successfully, but these errors were encountered: