Remove unneeded feature attr from atomic integers doctests
This commit is contained in:
parent
c22ce2806c
commit
f60b5f1bc7
@ -1899,7 +1899,7 @@ atomic_int! {
|
|||||||
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
||||||
unstable(feature = "integer_atomics", issue = "32976"),
|
unstable(feature = "integer_atomics", issue = "32976"),
|
||||||
"i8", "../../../std/primitive.i8.html",
|
"i8", "../../../std/primitive.i8.html",
|
||||||
"#![feature(integer_atomics)]\n\n",
|
"",
|
||||||
atomic_min, atomic_max,
|
atomic_min, atomic_max,
|
||||||
1,
|
1,
|
||||||
"AtomicI8::new(0)",
|
"AtomicI8::new(0)",
|
||||||
@ -1915,7 +1915,7 @@ atomic_int! {
|
|||||||
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
||||||
unstable(feature = "integer_atomics", issue = "32976"),
|
unstable(feature = "integer_atomics", issue = "32976"),
|
||||||
"u8", "../../../std/primitive.u8.html",
|
"u8", "../../../std/primitive.u8.html",
|
||||||
"#![feature(integer_atomics)]\n\n",
|
"",
|
||||||
atomic_umin, atomic_umax,
|
atomic_umin, atomic_umax,
|
||||||
1,
|
1,
|
||||||
"AtomicU8::new(0)",
|
"AtomicU8::new(0)",
|
||||||
@ -1931,7 +1931,7 @@ atomic_int! {
|
|||||||
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
||||||
unstable(feature = "integer_atomics", issue = "32976"),
|
unstable(feature = "integer_atomics", issue = "32976"),
|
||||||
"i16", "../../../std/primitive.i16.html",
|
"i16", "../../../std/primitive.i16.html",
|
||||||
"#![feature(integer_atomics)]\n\n",
|
"",
|
||||||
atomic_min, atomic_max,
|
atomic_min, atomic_max,
|
||||||
2,
|
2,
|
||||||
"AtomicI16::new(0)",
|
"AtomicI16::new(0)",
|
||||||
@ -1947,7 +1947,7 @@ atomic_int! {
|
|||||||
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
||||||
unstable(feature = "integer_atomics", issue = "32976"),
|
unstable(feature = "integer_atomics", issue = "32976"),
|
||||||
"u16", "../../../std/primitive.u16.html",
|
"u16", "../../../std/primitive.u16.html",
|
||||||
"#![feature(integer_atomics)]\n\n",
|
"",
|
||||||
atomic_umin, atomic_umax,
|
atomic_umin, atomic_umax,
|
||||||
2,
|
2,
|
||||||
"AtomicU16::new(0)",
|
"AtomicU16::new(0)",
|
||||||
@ -1963,7 +1963,7 @@ atomic_int! {
|
|||||||
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
||||||
unstable(feature = "integer_atomics", issue = "32976"),
|
unstable(feature = "integer_atomics", issue = "32976"),
|
||||||
"i32", "../../../std/primitive.i32.html",
|
"i32", "../../../std/primitive.i32.html",
|
||||||
"#![feature(integer_atomics)]\n\n",
|
"",
|
||||||
atomic_min, atomic_max,
|
atomic_min, atomic_max,
|
||||||
4,
|
4,
|
||||||
"AtomicI32::new(0)",
|
"AtomicI32::new(0)",
|
||||||
@ -1979,7 +1979,7 @@ atomic_int! {
|
|||||||
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
||||||
unstable(feature = "integer_atomics", issue = "32976"),
|
unstable(feature = "integer_atomics", issue = "32976"),
|
||||||
"u32", "../../../std/primitive.u32.html",
|
"u32", "../../../std/primitive.u32.html",
|
||||||
"#![feature(integer_atomics)]\n\n",
|
"",
|
||||||
atomic_umin, atomic_umax,
|
atomic_umin, atomic_umax,
|
||||||
4,
|
4,
|
||||||
"AtomicU32::new(0)",
|
"AtomicU32::new(0)",
|
||||||
@ -1995,7 +1995,7 @@ atomic_int! {
|
|||||||
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
||||||
unstable(feature = "integer_atomics", issue = "32976"),
|
unstable(feature = "integer_atomics", issue = "32976"),
|
||||||
"i64", "../../../std/primitive.i64.html",
|
"i64", "../../../std/primitive.i64.html",
|
||||||
"#![feature(integer_atomics)]\n\n",
|
"",
|
||||||
atomic_min, atomic_max,
|
atomic_min, atomic_max,
|
||||||
8,
|
8,
|
||||||
"AtomicI64::new(0)",
|
"AtomicI64::new(0)",
|
||||||
@ -2011,7 +2011,7 @@ atomic_int! {
|
|||||||
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
stable(feature = "integer_atomics_stable", since = "1.34.0"),
|
||||||
unstable(feature = "integer_atomics", issue = "32976"),
|
unstable(feature = "integer_atomics", issue = "32976"),
|
||||||
"u64", "../../../std/primitive.u64.html",
|
"u64", "../../../std/primitive.u64.html",
|
||||||
"#![feature(integer_atomics)]\n\n",
|
"",
|
||||||
atomic_umin, atomic_umax,
|
atomic_umin, atomic_umax,
|
||||||
8,
|
8,
|
||||||
"AtomicU64::new(0)",
|
"AtomicU64::new(0)",
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
#![feature(integer_atomics)]
|
|
||||||
|
|
||||||
// compile-pass
|
// compile-pass
|
||||||
|
|
||||||
use std::cell::UnsafeCell;
|
use std::cell::UnsafeCell;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user