@@ -44,7 +44,7 @@ impl f32 {
44
44
#[ rustc_allow_incoherent_impl]
45
45
#[ must_use = "method returns a new number and does not mutate the original value" ]
46
46
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
47
- #[ rustc_const_unstable ( feature = "const_float_round_methods" , issue = "141555 " ) ]
47
+ #[ rustc_const_stable ( feature = "const_float_round_methods" , since = "CURRENT_RUSTC_VERSION " ) ]
48
48
#[ inline]
49
49
pub const fn floor ( self ) -> f32 {
50
50
core:: f32:: math:: floor ( self )
@@ -67,7 +67,7 @@ impl f32 {
67
67
#[ rustc_allow_incoherent_impl]
68
68
#[ must_use = "method returns a new number and does not mutate the original value" ]
69
69
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
70
- #[ rustc_const_unstable ( feature = "const_float_round_methods" , issue = "141555 " ) ]
70
+ #[ rustc_const_stable ( feature = "const_float_round_methods" , since = "CURRENT_RUSTC_VERSION " ) ]
71
71
#[ inline]
72
72
pub const fn ceil ( self ) -> f32 {
73
73
core:: f32:: math:: ceil ( self )
@@ -96,7 +96,7 @@ impl f32 {
96
96
#[ rustc_allow_incoherent_impl]
97
97
#[ must_use = "method returns a new number and does not mutate the original value" ]
98
98
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
99
- #[ rustc_const_unstable ( feature = "const_float_round_methods" , issue = "141555 " ) ]
99
+ #[ rustc_const_stable ( feature = "const_float_round_methods" , since = "CURRENT_RUSTC_VERSION " ) ]
100
100
#[ inline]
101
101
pub const fn round ( self ) -> f32 {
102
102
core:: f32:: math:: round ( self )
@@ -123,7 +123,7 @@ impl f32 {
123
123
#[ rustc_allow_incoherent_impl]
124
124
#[ must_use = "method returns a new number and does not mutate the original value" ]
125
125
#[ stable( feature = "round_ties_even" , since = "1.77.0" ) ]
126
- #[ rustc_const_unstable ( feature = "const_float_round_methods" , issue = "141555 " ) ]
126
+ #[ rustc_const_stable ( feature = "const_float_round_methods" , since = "CURRENT_RUSTC_VERSION " ) ]
127
127
#[ inline]
128
128
pub const fn round_ties_even ( self ) -> f32 {
129
129
core:: f32:: math:: round_ties_even ( self )
@@ -149,7 +149,7 @@ impl f32 {
149
149
#[ rustc_allow_incoherent_impl]
150
150
#[ must_use = "method returns a new number and does not mutate the original value" ]
151
151
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
152
- #[ rustc_const_unstable ( feature = "const_float_round_methods" , issue = "141555 " ) ]
152
+ #[ rustc_const_stable ( feature = "const_float_round_methods" , since = "CURRENT_RUSTC_VERSION " ) ]
153
153
#[ inline]
154
154
pub const fn trunc ( self ) -> f32 {
155
155
core:: f32:: math:: trunc ( self )
@@ -173,7 +173,7 @@ impl f32 {
173
173
#[ rustc_allow_incoherent_impl]
174
174
#[ must_use = "method returns a new number and does not mutate the original value" ]
175
175
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
176
- #[ rustc_const_unstable ( feature = "const_float_round_methods" , issue = "141555 " ) ]
176
+ #[ rustc_const_stable ( feature = "const_float_round_methods" , since = "CURRENT_RUSTC_VERSION " ) ]
177
177
#[ inline]
178
178
pub const fn fract ( self ) -> f32 {
179
179
core:: f32:: math:: fract ( self )
0 commit comments