@@ -1131,6 +1131,7 @@ macro_rules! atomic_int {
1131
1131
$stable_access: meta,
1132
1132
$stable_from: meta,
1133
1133
$stable_nand: meta,
1134
+ $stable_init_const: meta,
1134
1135
$s_int_type: expr, $int_ref: expr,
1135
1136
$extra_feature: expr,
1136
1137
$min_fn: ident, $max_fn: ident,
@@ -1156,7 +1157,7 @@ macro_rules! atomic_int {
1156
1157
}
1157
1158
1158
1159
/// An atomic integer initialized to `0`.
1159
- #[ $stable ]
1160
+ #[ $stable_init_const ]
1160
1161
#[ cfg_attr( stage0, rustc_deprecated(
1161
1162
since = "1.34.0" ,
1162
1163
reason = "the `new` function is now preferred" ,
@@ -1891,6 +1892,7 @@ atomic_int! {
1891
1892
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1892
1893
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1893
1894
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1895
+ unstable( feature = "integer_atomics" , issue = "32976" ) ,
1894
1896
"i8" , "../../../std/primitive.i8.html" ,
1895
1897
"#![feature(integer_atomics)]\n \n " ,
1896
1898
atomic_min, atomic_max,
@@ -1906,6 +1908,7 @@ atomic_int! {
1906
1908
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1907
1909
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1908
1910
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1911
+ unstable( feature = "integer_atomics" , issue = "32976" ) ,
1909
1912
"u8" , "../../../std/primitive.u8.html" ,
1910
1913
"#![feature(integer_atomics)]\n \n " ,
1911
1914
atomic_umin, atomic_umax,
@@ -1921,6 +1924,7 @@ atomic_int! {
1921
1924
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1922
1925
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1923
1926
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1927
+ unstable( feature = "integer_atomics" , issue = "32976" ) ,
1924
1928
"i16" , "../../../std/primitive.i16.html" ,
1925
1929
"#![feature(integer_atomics)]\n \n " ,
1926
1930
atomic_min, atomic_max,
@@ -1936,6 +1940,7 @@ atomic_int! {
1936
1940
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1937
1941
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1938
1942
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1943
+ unstable( feature = "integer_atomics" , issue = "32976" ) ,
1939
1944
"u16" , "../../../std/primitive.u16.html" ,
1940
1945
"#![feature(integer_atomics)]\n \n " ,
1941
1946
atomic_umin, atomic_umax,
@@ -1951,6 +1956,7 @@ atomic_int! {
1951
1956
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1952
1957
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1953
1958
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1959
+ unstable( feature = "integer_atomics" , issue = "32976" ) ,
1954
1960
"i32" , "../../../std/primitive.i32.html" ,
1955
1961
"#![feature(integer_atomics)]\n \n " ,
1956
1962
atomic_min, atomic_max,
@@ -1966,6 +1972,7 @@ atomic_int! {
1966
1972
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1967
1973
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1968
1974
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1975
+ unstable( feature = "integer_atomics" , issue = "32976" ) ,
1969
1976
"u32" , "../../../std/primitive.u32.html" ,
1970
1977
"#![feature(integer_atomics)]\n \n " ,
1971
1978
atomic_umin, atomic_umax,
@@ -1981,6 +1988,7 @@ atomic_int! {
1981
1988
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1982
1989
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1983
1990
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1991
+ unstable( feature = "integer_atomics" , issue = "32976" ) ,
1984
1992
"i64" , "../../../std/primitive.i64.html" ,
1985
1993
"#![feature(integer_atomics)]\n \n " ,
1986
1994
atomic_min, atomic_max,
@@ -1996,6 +2004,7 @@ atomic_int! {
1996
2004
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1997
2005
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
1998
2006
stable( feature = "integer_atomics_stable" , since = "1.34.0" ) ,
2007
+ unstable( feature = "integer_atomics" , issue = "32976" ) ,
1999
2008
"u64" , "../../../std/primitive.u64.html" ,
2000
2009
"#![feature(integer_atomics)]\n \n " ,
2001
2010
atomic_umin, atomic_umax,
@@ -2011,6 +2020,7 @@ atomic_int! {
2011
2020
unstable( feature = "integer_atomics" , issue = "32976" ) ,
2012
2021
unstable( feature = "integer_atomics" , issue = "32976" ) ,
2013
2022
unstable( feature = "integer_atomics" , issue = "32976" ) ,
2023
+ unstable( feature = "integer_atomics" , issue = "32976" ) ,
2014
2024
"i128" , "../../../std/primitive.i128.html" ,
2015
2025
"#![feature(integer_atomics)]\n \n " ,
2016
2026
atomic_min, atomic_max,
@@ -2026,6 +2036,7 @@ atomic_int! {
2026
2036
unstable( feature = "integer_atomics" , issue = "32976" ) ,
2027
2037
unstable( feature = "integer_atomics" , issue = "32976" ) ,
2028
2038
unstable( feature = "integer_atomics" , issue = "32976" ) ,
2039
+ unstable( feature = "integer_atomics" , issue = "32976" ) ,
2029
2040
"u128" , "../../../std/primitive.u128.html" ,
2030
2041
"#![feature(integer_atomics)]\n \n " ,
2031
2042
atomic_umin, atomic_umax,
@@ -2053,6 +2064,7 @@ atomic_int!{
2053
2064
stable( feature = "atomic_access" , since = "1.15.0" ) ,
2054
2065
stable( feature = "atomic_from" , since = "1.23.0" ) ,
2055
2066
stable( feature = "atomic_nand" , since = "1.27.0" ) ,
2067
+ stable( feature = "rust1" , since = "1.0.0" ) ,
2056
2068
"isize" , "../../../std/primitive.isize.html" ,
2057
2069
"" ,
2058
2070
atomic_min, atomic_max,
@@ -2068,6 +2080,7 @@ atomic_int!{
2068
2080
stable( feature = "atomic_access" , since = "1.15.0" ) ,
2069
2081
stable( feature = "atomic_from" , since = "1.23.0" ) ,
2070
2082
stable( feature = "atomic_nand" , since = "1.27.0" ) ,
2083
+ stable( feature = "rust1" , since = "1.0.0" ) ,
2071
2084
"usize" , "../../../std/primitive.usize.html" ,
2072
2085
"" ,
2073
2086
atomic_umin, atomic_umax,
0 commit comments