File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -701,7 +701,9 @@ symbols! {
701
701
f,
702
702
f16c_target_feature,
703
703
f32 ,
704
+ f32_nan,
704
705
f64 ,
706
+ f64_nan,
705
707
fabsf32,
706
708
fabsf64,
707
709
fadd_fast,
Original file line number Diff line number Diff line change @@ -403,6 +403,7 @@ impl f32 {
403
403
/// and the stability of its representation over Rust versions
404
404
/// and target platforms isn't guaranteed.
405
405
#[ stable( feature = "assoc_int_consts" , since = "1.43.0" ) ]
406
+ #[ rustc_diagnostic_item = "f32_nan" ]
406
407
pub const NAN : f32 = 0.0_f32 / 0.0_f32 ;
407
408
/// Infinity (∞).
408
409
#[ stable( feature = "assoc_int_consts" , since = "1.43.0" ) ]
Original file line number Diff line number Diff line change @@ -401,6 +401,7 @@ impl f64 {
401
401
/// This constant isn't guaranteed to equal to any specific NaN bitpattern,
402
402
/// and the stability of its representation over Rust versions
403
403
/// and target platforms isn't guaranteed.
404
+ #[ rustc_diagnostic_item = "f64_nan" ]
404
405
#[ stable( feature = "assoc_int_consts" , since = "1.43.0" ) ]
405
406
pub const NAN : f64 = 0.0_f64 / 0.0_f64 ;
406
407
/// Infinity (∞).
You can’t perform that action at this time.
0 commit comments