diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-04-20 17:41:31 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-04-20 18:10:00 +0200 |
| commit | d141fdc3bfce5ab675a0c74b2fd6cf89ac4ef3f8 (patch) | |
| tree | 125d6981205fb48744f95640e23a1d8dd14748b3 /src/libcore/array.rs | |
| parent | aaefa947ac507ff77049d27f927ddffe1b73cb18 (diff) | |
| download | rust-d141fdc3bfce5ab675a0c74b2fd6cf89ac4ef3f8.tar.gz rust-d141fdc3bfce5ab675a0c74b2fd6cf89ac4ef3f8.zip | |
Revert "Stabilize the TryFrom and TryInto traits"
This reverts commit e53a2a72743810e05f58c61c9d8a4c89b712ad2e.
Diffstat (limited to 'src/libcore/array.rs')
| -rw-r--r-- | src/libcore/array.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/array.rs b/src/libcore/array.rs index 87144c27c9e..3d24f8902bd 100644 --- a/src/libcore/array.rs +++ b/src/libcore/array.rs @@ -59,7 +59,7 @@ unsafe impl<T, A: Unsize<[T]>> FixedSizeArray<T> for A { } /// The error type returned when a conversion from a slice to an array fails. -#[stable(feature = "try_from", since = "1.26.0")] +#[unstable(feature = "try_from", issue = "33417")] #[derive(Debug, Copy, Clone)] pub struct TryFromSliceError(()); @@ -148,7 +148,7 @@ macro_rules! array_impls { } } - #[stable(feature = "try_from", since = "1.26.0")] + #[unstable(feature = "try_from", issue = "33417")] impl<'a, T> TryFrom<&'a [T]> for &'a [T; $N] { type Error = TryFromSliceError; @@ -162,7 +162,7 @@ macro_rules! array_impls { } } - #[stable(feature = "try_from", since = "1.26.0")] + #[unstable(feature = "try_from", issue = "33417")] impl<'a, T> TryFrom<&'a mut [T]> for &'a mut [T; $N] { type Error = TryFromSliceError; |
