diff options
| author | Ross MacArthur <ross@macarthur.io> | 2019-12-21 13:16:18 +0200 |
|---|---|---|
| committer | Ross MacArthur <ross@macarthur.io> | 2019-12-21 13:16:18 +0200 |
| commit | f7256d28d1c2f8340ab5b99df4bdb15aa232f3f3 (patch) | |
| tree | 96290353977ba531e62b2af5a42e90331016ba44 /src/libcore/array | |
| parent | 9ff30a7810c586819a78188c173a7b74adbb9730 (diff) | |
| download | rust-f7256d28d1c2f8340ab5b99df4bdb15aa232f3f3.tar.gz rust-f7256d28d1c2f8340ab5b99df4bdb15aa232f3f3.zip | |
Require issue = "none" over issue = "0" in unstable attributes
Diffstat (limited to 'src/libcore/array')
| -rw-r--r-- | src/libcore/array/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/array/mod.rs b/src/libcore/array/mod.rs index 38d248d701d..fd80000b6fb 100644 --- a/src/libcore/array/mod.rs +++ b/src/libcore/array/mod.rs @@ -74,7 +74,7 @@ impl TryFromSliceError { #[unstable(feature = "array_error_internals", reason = "available through Error trait and this method should not \ be exposed publicly", - issue = "0")] + issue = "none")] #[inline] #[doc(hidden)] pub fn __description(&self) -> &str { @@ -388,14 +388,14 @@ where #[rustc_on_unimplemented( message="arrays only have std trait implementations for lengths 0..=32", )] -#[unstable(feature = "const_generic_impls_guard", issue = "0", +#[unstable(feature = "const_generic_impls_guard", issue = "none", reason = "will never be stable, just a temporary step until const generics are stable")] pub trait LengthAtMost32 {} macro_rules! array_impls { ($($N:literal)+) => { $( - #[unstable(feature = "const_generic_impls_guard", issue = "0")] + #[unstable(feature = "const_generic_impls_guard", issue = "none")] impl<T> LengthAtMost32 for [T; $N] {} )+ } |
