File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -415,6 +415,7 @@ impl f32 {
415415/// [Machine epsilon]: https://en.wikipedia.org/wiki/Machine_epsilon 
416416/// [`MANTISSA_DIGITS`]: f32::MANTISSA_DIGITS 
417417#[ stable( feature = "assoc_int_consts" ,  since = "1.43.0" ) ]  
418+     #[ cfg_attr( not( test) ,  rustc_diagnostic_item = "f32_epsilon" ) ]  
418419    pub  const  EPSILON :  f32  = 1.19209290e-07_f32 ; 
419420
420421    /// Smallest finite `f32` value. 
Original file line number Diff line number Diff line change @@ -414,6 +414,7 @@ impl f64 {
414414/// [Machine epsilon]: https://en.wikipedia.org/wiki/Machine_epsilon 
415415/// [`MANTISSA_DIGITS`]: f64::MANTISSA_DIGITS 
416416#[ stable( feature = "assoc_int_consts" ,  since = "1.43.0" ) ]  
417+     #[ cfg_attr( not( test) ,  rustc_diagnostic_item = "f64_epsilon" ) ]  
417418    pub  const  EPSILON :  f64  = 2.2204460492503131e-16_f64 ; 
418419
419420    /// Smallest finite `f64` value. 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments