rustc_middle: ImmTy
's Display
implementation adds a weird-looking suffix to special floating point values. #118221
Closed
Description
When printing an ImmTy
that contains an special floating point value such as infinity or NaN, it will add an f32
or f64
suffix, making it look like Inff32
or NaNf32
, which does not look very pretty.
First observed in rust-lang/miri#3185 (comment).