@@ -1113,7 +1113,7 @@ impl f32 {
11131113 #[ must_use = "this returns the result of the operation, \
11141114 without modifying the original"]
11151115 #[ stable( feature = "float_bits_conv" , since = "1.20.0" ) ]
1116- #[ rustc_const_unstable ( feature = "const_float_bits_conv" , issue = "72447 " ) ]
1116+ #[ rustc_const_stable ( feature = "const_float_bits_conv" , since = "CURRENT_RUSTC_VERSION " ) ]
11171117 #[ inline]
11181118 pub const fn to_bits ( self ) -> u32 {
11191119 // SAFETY: `u32` is a plain old datatype so we can always transmute to it.
@@ -1157,7 +1157,7 @@ impl f32 {
11571157 /// assert_eq!(v, 12.5);
11581158 /// ```
11591159 #[ stable( feature = "float_bits_conv" , since = "1.20.0" ) ]
1160- #[ rustc_const_unstable ( feature = "const_float_bits_conv" , issue = "72447 " ) ]
1160+ #[ rustc_const_stable ( feature = "const_float_bits_conv" , since = "CURRENT_RUSTC_VERSION " ) ]
11611161 #[ must_use]
11621162 #[ inline]
11631163 pub const fn from_bits ( v : u32 ) -> Self {
@@ -1181,7 +1181,7 @@ impl f32 {
11811181 #[ must_use = "this returns the result of the operation, \
11821182 without modifying the original"]
11831183 #[ stable( feature = "float_to_from_bytes" , since = "1.40.0" ) ]
1184- #[ rustc_const_unstable ( feature = "const_float_bits_conv" , issue = "72447 " ) ]
1184+ #[ rustc_const_stable ( feature = "const_float_bits_conv" , since = "CURRENT_RUSTC_VERSION " ) ]
11851185 #[ inline]
11861186 pub const fn to_be_bytes ( self ) -> [ u8 ; 4 ] {
11871187 self . to_bits ( ) . to_be_bytes ( )
@@ -1202,7 +1202,7 @@ impl f32 {
12021202 #[ must_use = "this returns the result of the operation, \
12031203 without modifying the original"]
12041204 #[ stable( feature = "float_to_from_bytes" , since = "1.40.0" ) ]
1205- #[ rustc_const_unstable ( feature = "const_float_bits_conv" , issue = "72447 " ) ]
1205+ #[ rustc_const_stable ( feature = "const_float_bits_conv" , since = "CURRENT_RUSTC_VERSION " ) ]
12061206 #[ inline]
12071207 pub const fn to_le_bytes ( self ) -> [ u8 ; 4 ] {
12081208 self . to_bits ( ) . to_le_bytes ( )
@@ -1236,7 +1236,7 @@ impl f32 {
12361236 #[ must_use = "this returns the result of the operation, \
12371237 without modifying the original"]
12381238 #[ stable( feature = "float_to_from_bytes" , since = "1.40.0" ) ]
1239- #[ rustc_const_unstable ( feature = "const_float_bits_conv" , issue = "72447 " ) ]
1239+ #[ rustc_const_stable ( feature = "const_float_bits_conv" , since = "CURRENT_RUSTC_VERSION " ) ]
12401240 #[ inline]
12411241 pub const fn to_ne_bytes ( self ) -> [ u8 ; 4 ] {
12421242 self . to_bits ( ) . to_ne_bytes ( )
@@ -1254,7 +1254,7 @@ impl f32 {
12541254 /// assert_eq!(value, 12.5);
12551255 /// ```
12561256 #[ stable( feature = "float_to_from_bytes" , since = "1.40.0" ) ]
1257- #[ rustc_const_unstable ( feature = "const_float_bits_conv" , issue = "72447 " ) ]
1257+ #[ rustc_const_stable ( feature = "const_float_bits_conv" , since = "CURRENT_RUSTC_VERSION " ) ]
12581258 #[ must_use]
12591259 #[ inline]
12601260 pub const fn from_be_bytes ( bytes : [ u8 ; 4 ] ) -> Self {
@@ -1273,7 +1273,7 @@ impl f32 {
12731273 /// assert_eq!(value, 12.5);
12741274 /// ```
12751275 #[ stable( feature = "float_to_from_bytes" , since = "1.40.0" ) ]
1276- #[ rustc_const_unstable ( feature = "const_float_bits_conv" , issue = "72447 " ) ]
1276+ #[ rustc_const_stable ( feature = "const_float_bits_conv" , since = "CURRENT_RUSTC_VERSION " ) ]
12771277 #[ must_use]
12781278 #[ inline]
12791279 pub const fn from_le_bytes ( bytes : [ u8 ; 4 ] ) -> Self {
@@ -1303,7 +1303,7 @@ impl f32 {
13031303 /// assert_eq!(value, 12.5);
13041304 /// ```
13051305 #[ stable( feature = "float_to_from_bytes" , since = "1.40.0" ) ]
1306- #[ rustc_const_unstable ( feature = "const_float_bits_conv" , issue = "72447 " ) ]
1306+ #[ rustc_const_stable ( feature = "const_float_bits_conv" , since = "CURRENT_RUSTC_VERSION " ) ]
13071307 #[ must_use]
13081308 #[ inline]
13091309 pub const fn from_ne_bytes ( bytes : [ u8 ; 4 ] ) -> Self {
0 commit comments