diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2015-12-16 21:44:33 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2015-12-18 00:52:56 +0300 |
| commit | 0d298f9904468b8f668cb9b505c19d64fdeb7633 (patch) | |
| tree | 7e65ebcb1ef74ec027cf31b2135b92f3a80e99ac /src/libsyntax/owned_slice.rs | |
| parent | 09d4a436a748a39f13d2d6d6c6ba56a885bb0d0c (diff) | |
| download | rust-0d298f9904468b8f668cb9b505c19d64fdeb7633.tar.gz rust-0d298f9904468b8f668cb9b505c19d64fdeb7633.zip | |
Deprecate name `OwnedSlice` and don't use it
Diffstat (limited to 'src/libsyntax/owned_slice.rs')
| -rw-r--r-- | src/libsyntax/owned_slice.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsyntax/owned_slice.rs b/src/libsyntax/owned_slice.rs index 820c7e7e4a6..33a3d578598 100644 --- a/src/libsyntax/owned_slice.rs +++ b/src/libsyntax/owned_slice.rs @@ -9,4 +9,6 @@ // except according to those terms. /// A non-growable owned slice. +#[unstable(feature = "rustc_private", issue = "0")] +#[rustc_deprecated(since = "1.7.0", reason = "use `ptr::P<[T]>` instead")] pub type OwnedSlice<T> = ::ptr::P<[T]>; |
