@@ -243,7 +243,6 @@ impl AtomicBool {
243
243
/// ```
244
244
#[ inline]
245
245
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
246
- #[ rustc_const_unstable( feature = "const_atomic_bool_new" ) ]
247
246
pub const fn new ( v : bool ) -> AtomicBool {
248
247
AtomicBool { v : UnsafeCell :: new ( v as u8 ) }
249
248
}
@@ -657,7 +656,6 @@ impl<T> AtomicPtr<T> {
657
656
/// ```
658
657
#[ inline]
659
658
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
660
- #[ rustc_const_unstable( feature = "const_atomic_ptr_new" ) ]
661
659
pub const fn new ( p : * mut T ) -> AtomicPtr < T > {
662
660
AtomicPtr { p : UnsafeCell :: new ( p) }
663
661
}
@@ -936,7 +934,7 @@ impl<T> From<*mut T> for AtomicPtr<T> {
936
934
937
935
#[ cfg( target_has_atomic = "ptr" ) ]
938
936
macro_rules! atomic_int {
939
- ( $stable: meta, $const_unstable : meta ,
937
+ ( $stable: meta,
940
938
$stable_cxchg: meta,
941
939
$stable_debug: meta,
942
940
$stable_access: meta,
@@ -1005,7 +1003,6 @@ macro_rules! atomic_int {
1005
1003
/// ```
1006
1004
#[ inline]
1007
1005
#[ $stable]
1008
- #[ $const_unstable]
1009
1006
pub const fn new( v: $int_type) -> Self {
1010
1007
$atomic_type { v: UnsafeCell :: new( v) }
1011
1008
}
@@ -1369,7 +1366,6 @@ macro_rules! atomic_int {
1369
1366
#[ cfg( target_has_atomic = "8" ) ]
1370
1367
atomic_int ! {
1371
1368
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1372
- rustc_const_unstable( feature = "const_atomic_i8_new" ) ,
1373
1369
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1374
1370
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1375
1371
unstable( feature = "integer_atomics" , issue = "32976" ) ,
@@ -1379,7 +1375,6 @@ atomic_int! {
1379
1375
#[ cfg( target_has_atomic = "8" ) ]
1380
1376
atomic_int ! {
1381
1377
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1382
- rustc_const_unstable( feature = "const_atomic_u8_new" ) ,
1383
1378
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1384
1379
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1385
1380
unstable( feature = "integer_atomics" , issue = "32976" ) ,
@@ -1389,7 +1384,6 @@ atomic_int! {
1389
1384
#[ cfg( target_has_atomic = "16" ) ]
1390
1385
atomic_int ! {
1391
1386
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1392
- rustc_const_unstable( feature = "const_atomic_i16_new" ) ,
1393
1387
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1394
1388
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1395
1389
unstable( feature = "integer_atomics" , issue = "32976" ) ,
@@ -1399,7 +1393,6 @@ atomic_int! {
1399
1393
#[ cfg( target_has_atomic = "16" ) ]
1400
1394
atomic_int ! {
1401
1395
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1402
- rustc_const_unstable( feature = "const_atomic_u16_new" ) ,
1403
1396
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1404
1397
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1405
1398
unstable( feature = "integer_atomics" , issue = "32976" ) ,
@@ -1409,7 +1402,6 @@ atomic_int! {
1409
1402
#[ cfg( target_has_atomic = "32" ) ]
1410
1403
atomic_int ! {
1411
1404
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1412
- rustc_const_unstable( feature = "const_atomic_i32_new" ) ,
1413
1405
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1414
1406
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1415
1407
unstable( feature = "integer_atomics" , issue = "32976" ) ,
@@ -1419,7 +1411,6 @@ atomic_int! {
1419
1411
#[ cfg( target_has_atomic = "32" ) ]
1420
1412
atomic_int ! {
1421
1413
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1422
- rustc_const_unstable( feature = "const_atomic_u32_new" ) ,
1423
1414
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1424
1415
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1425
1416
unstable( feature = "integer_atomics" , issue = "32976" ) ,
@@ -1429,7 +1420,6 @@ atomic_int! {
1429
1420
#[ cfg( target_has_atomic = "64" ) ]
1430
1421
atomic_int ! {
1431
1422
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1432
- rustc_const_unstable( feature = "const_atomic_i64_new" ) ,
1433
1423
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1434
1424
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1435
1425
unstable( feature = "integer_atomics" , issue = "32976" ) ,
@@ -1439,7 +1429,6 @@ atomic_int! {
1439
1429
#[ cfg( target_has_atomic = "64" ) ]
1440
1430
atomic_int ! {
1441
1431
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1442
- rustc_const_unstable( feature = "const_atomic_u64_new" ) ,
1443
1432
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1444
1433
unstable( feature = "integer_atomics" , issue = "32976" ) ,
1445
1434
unstable( feature = "integer_atomics" , issue = "32976" ) ,
@@ -1449,7 +1438,6 @@ atomic_int! {
1449
1438
#[ cfg( target_has_atomic = "ptr" ) ]
1450
1439
atomic_int ! {
1451
1440
stable( feature = "rust1" , since = "1.0.0" ) ,
1452
- rustc_const_unstable( feature = "const_atomic_isize_new" ) ,
1453
1441
stable( feature = "extended_compare_and_swap" , since = "1.10.0" ) ,
1454
1442
stable( feature = "atomic_debug" , since = "1.3.0" ) ,
1455
1443
stable( feature = "atomic_access" , since = "1.15.0" ) ,
@@ -1459,7 +1447,6 @@ atomic_int!{
1459
1447
#[ cfg( target_has_atomic = "ptr" ) ]
1460
1448
atomic_int ! {
1461
1449
stable( feature = "rust1" , since = "1.0.0" ) ,
1462
- rustc_const_unstable( feature = "const_atomic_usize_new" ) ,
1463
1450
stable( feature = "extended_compare_and_swap" , since = "1.10.0" ) ,
1464
1451
stable( feature = "atomic_debug" , since = "1.3.0" ) ,
1465
1452
stable( feature = "atomic_access" , since = "1.15.0" ) ,
0 commit comments