@@ -2271,15 +2271,16 @@ macro_rules! int_impl {
2271
2271
/// # Panics
2272
2272
///
2273
2273
/// 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.
2275
2275
///
2276
2276
/// # Examples
2277
2277
///
2278
2278
/// ```
2279
- /// #![feature(int_log)]
2280
2279
#[ doc = concat!( "assert_eq!(5" , stringify!( $SelfT) , ".ilog(5), 1);" ) ]
2281
2280
/// ```
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) ]
2283
2284
#[ must_use = "this returns the result of the operation, \
2284
2285
without modifying the original"]
2285
2286
#[ inline]
@@ -2298,10 +2299,11 @@ macro_rules! int_impl {
2298
2299
/// # Examples
2299
2300
///
2300
2301
/// ```
2301
- /// #![feature(int_log)]
2302
2302
#[ doc = concat!( "assert_eq!(2" , stringify!( $SelfT) , ".ilog2(), 1);" ) ]
2303
2303
/// ```
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) ]
2305
2307
#[ must_use = "this returns the result of the operation, \
2306
2308
without modifying the original"]
2307
2309
#[ inline]
@@ -2319,10 +2321,11 @@ macro_rules! int_impl {
2319
2321
/// # Example
2320
2322
///
2321
2323
/// ```
2322
- /// #![feature(int_log)]
2323
2324
#[ doc = concat!( "assert_eq!(10" , stringify!( $SelfT) , ".ilog10(), 1);" ) ]
2324
2325
/// ```
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) ]
2326
2329
#[ must_use = "this returns the result of the operation, \
2327
2330
without modifying the original"]
2328
2331
#[ inline]
@@ -2343,10 +2346,10 @@ macro_rules! int_impl {
2343
2346
/// # Examples
2344
2347
///
2345
2348
/// ```
2346
- /// #![feature(int_log)]
2347
2349
#[ doc = concat!( "assert_eq!(5" , stringify!( $SelfT) , ".checked_ilog(5), Some(1));" ) ]
2348
2350
/// ```
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" ) ]
2350
2353
#[ must_use = "this returns the result of the operation, \
2351
2354
without modifying the original"]
2352
2355
#[ inline]
@@ -2379,10 +2382,10 @@ macro_rules! int_impl {
2379
2382
/// # Examples
2380
2383
///
2381
2384
/// ```
2382
- /// #![feature(int_log)]
2383
2385
#[ doc = concat!( "assert_eq!(2" , stringify!( $SelfT) , ".checked_ilog2(), Some(1));" ) ]
2384
2386
/// ```
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" ) ]
2386
2389
#[ must_use = "this returns the result of the operation, \
2387
2390
without modifying the original"]
2388
2391
#[ inline]
@@ -2403,10 +2406,10 @@ macro_rules! int_impl {
2403
2406
/// # Example
2404
2407
///
2405
2408
/// ```
2406
- /// #![feature(int_log)]
2407
2409
#[ doc = concat!( "assert_eq!(10" , stringify!( $SelfT) , ".checked_ilog10(), Some(1));" ) ]
2408
2410
/// ```
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" ) ]
2410
2413
#[ must_use = "this returns the result of the operation, \
2411
2414
without modifying the original"]
2412
2415
#[ inline]
0 commit comments