@@ -44,7 +44,7 @@ impl f32 {
4444 #[ rustc_allow_incoherent_impl]
4545 #[ must_use = "method returns a new number and does not mutate the original value" ]
4646 #[ 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 " ) ]
4848 #[ inline]
4949 pub const fn floor ( self ) -> f32 {
5050 core:: f32:: math:: floor ( self )
@@ -67,7 +67,7 @@ impl f32 {
6767 #[ rustc_allow_incoherent_impl]
6868 #[ must_use = "method returns a new number and does not mutate the original value" ]
6969 #[ 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 " ) ]
7171 #[ inline]
7272 pub const fn ceil ( self ) -> f32 {
7373 core:: f32:: math:: ceil ( self )
@@ -96,7 +96,7 @@ impl f32 {
9696 #[ rustc_allow_incoherent_impl]
9797 #[ must_use = "method returns a new number and does not mutate the original value" ]
9898 #[ 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 " ) ]
100100 #[ inline]
101101 pub const fn round ( self ) -> f32 {
102102 core:: f32:: math:: round ( self )
@@ -123,7 +123,7 @@ impl f32 {
123123 #[ rustc_allow_incoherent_impl]
124124 #[ must_use = "method returns a new number and does not mutate the original value" ]
125125 #[ 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 " ) ]
127127 #[ inline]
128128 pub const fn round_ties_even ( self ) -> f32 {
129129 core:: f32:: math:: round_ties_even ( self )
@@ -149,7 +149,7 @@ impl f32 {
149149 #[ rustc_allow_incoherent_impl]
150150 #[ must_use = "method returns a new number and does not mutate the original value" ]
151151 #[ 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 " ) ]
153153 #[ inline]
154154 pub const fn trunc ( self ) -> f32 {
155155 core:: f32:: math:: trunc ( self )
@@ -173,7 +173,7 @@ impl f32 {
173173 #[ rustc_allow_incoherent_impl]
174174 #[ must_use = "method returns a new number and does not mutate the original value" ]
175175 #[ 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 " ) ]
177177 #[ inline]
178178 pub const fn fract ( self ) -> f32 {
179179 core:: f32:: math:: fract ( self )
0 commit comments