@@ -2271,15 +2271,16 @@ macro_rules! int_impl {
22712271 /// # Panics
22722272 ///
22732273 /// This function will panic if `self` is less than or equal to zero,
2274- /// or if `base` is less then 2.
2274+ /// or if `base` is less than 2.
22752275 ///
22762276 /// # Examples
22772277 ///
22782278 /// ```
2279- /// #![feature(int_log)]
22802279 #[ doc = concat!( "assert_eq!(5" , stringify!( $SelfT) , ".ilog(5), 1);" ) ]
22812280 /// ```
2282- #[ unstable( feature = "int_log" , issue = "70887" ) ]
2281+ #[ stable( feature = "int_log" , since = "CURRENT_RUSTC_VERSION" ) ]
2282+ #[ rustc_const_stable( feature = "int_log" , since = "CURRENT_RUSTC_VERSION" ) ]
2283+ #[ rustc_allow_const_fn_unstable( const_option) ]
22832284 #[ must_use = "this returns the result of the operation, \
22842285 without modifying the original"]
22852286 #[ inline]
@@ -2298,10 +2299,11 @@ macro_rules! int_impl {
22982299 /// # Examples
22992300 ///
23002301 /// ```
2301- /// #![feature(int_log)]
23022302 #[ doc = concat!( "assert_eq!(2" , stringify!( $SelfT) , ".ilog2(), 1);" ) ]
23032303 /// ```
2304- #[ unstable( feature = "int_log" , issue = "70887" ) ]
2304+ #[ stable( feature = "int_log" , since = "CURRENT_RUSTC_VERSION" ) ]
2305+ #[ rustc_const_stable( feature = "int_log" , since = "CURRENT_RUSTC_VERSION" ) ]
2306+ #[ rustc_allow_const_fn_unstable( const_option) ]
23052307 #[ must_use = "this returns the result of the operation, \
23062308 without modifying the original"]
23072309 #[ inline]
@@ -2319,10 +2321,11 @@ macro_rules! int_impl {
23192321 /// # Example
23202322 ///
23212323 /// ```
2322- /// #![feature(int_log)]
23232324 #[ doc = concat!( "assert_eq!(10" , stringify!( $SelfT) , ".ilog10(), 1);" ) ]
23242325 /// ```
2325- #[ unstable( feature = "int_log" , issue = "70887" ) ]
2326+ #[ stable( feature = "int_log" , since = "CURRENT_RUSTC_VERSION" ) ]
2327+ #[ rustc_const_stable( feature = "int_log" , since = "CURRENT_RUSTC_VERSION" ) ]
2328+ #[ rustc_allow_const_fn_unstable( const_option) ]
23262329 #[ must_use = "this returns the result of the operation, \
23272330 without modifying the original"]
23282331 #[ inline]
@@ -2343,10 +2346,10 @@ macro_rules! int_impl {
23432346 /// # Examples
23442347 ///
23452348 /// ```
2346- /// #![feature(int_log)]
23472349 #[ doc = concat!( "assert_eq!(5" , stringify!( $SelfT) , ".checked_ilog(5), Some(1));" ) ]
23482350 /// ```
2349- #[ unstable( feature = "int_log" , issue = "70887" ) ]
2351+ #[ stable( feature = "int_log" , since = "CURRENT_RUSTC_VERSION" ) ]
2352+ #[ rustc_const_stable( feature = "int_log" , since = "CURRENT_RUSTC_VERSION" ) ]
23502353 #[ must_use = "this returns the result of the operation, \
23512354 without modifying the original"]
23522355 #[ inline]
@@ -2379,10 +2382,10 @@ macro_rules! int_impl {
23792382 /// # Examples
23802383 ///
23812384 /// ```
2382- /// #![feature(int_log)]
23832385 #[ doc = concat!( "assert_eq!(2" , stringify!( $SelfT) , ".checked_ilog2(), Some(1));" ) ]
23842386 /// ```
2385- #[ unstable( feature = "int_log" , issue = "70887" ) ]
2387+ #[ stable( feature = "int_log" , since = "CURRENT_RUSTC_VERSION" ) ]
2388+ #[ rustc_const_stable( feature = "int_log" , since = "CURRENT_RUSTC_VERSION" ) ]
23862389 #[ must_use = "this returns the result of the operation, \
23872390 without modifying the original"]
23882391 #[ inline]
@@ -2403,10 +2406,10 @@ macro_rules! int_impl {
24032406 /// # Example
24042407 ///
24052408 /// ```
2406- /// #![feature(int_log)]
24072409 #[ doc = concat!( "assert_eq!(10" , stringify!( $SelfT) , ".checked_ilog10(), Some(1));" ) ]
24082410 /// ```
2409- #[ unstable( feature = "int_log" , issue = "70887" ) ]
2411+ #[ stable( feature = "int_log" , since = "CURRENT_RUSTC_VERSION" ) ]
2412+ #[ rustc_const_stable( feature = "int_log" , since = "CURRENT_RUSTC_VERSION" ) ]
24102413 #[ must_use = "this returns the result of the operation, \
24112414 without modifying the original"]
24122415 #[ inline]
0 commit comments