diff options
| author | Yuki OKUSHI <huyuumi.dev@gmail.com> | 2019-04-29 12:41:06 +0900 |
|---|---|---|
| committer | Yuki OKUSHI <huyuumi.dev@gmail.com> | 2019-04-29 12:41:06 +0900 |
| commit | 1c17489bfefb2dc81e7d1d4ec47405ba8d9461ca (patch) | |
| tree | 92bdd77acab1100e1f0d35909f0e7bfee4e5642f /src/libcore | |
| parent | 938d4ffe16c4430e1dcede570b06227114cb73d5 (diff) | |
| download | rust-1c17489bfefb2dc81e7d1d4ec47405ba8d9461ca.tar.gz rust-1c17489bfefb2dc81e7d1d4ec47405ba8d9461ca.zip | |
const-stabilize std::mem::needs_drop
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/mem.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libcore/mem.rs b/src/libcore/mem.rs index 95480c6bf04..5bd442bc066 100644 --- a/src/libcore/mem.rs +++ b/src/libcore/mem.rs @@ -459,7 +459,6 @@ pub fn align_of_val<T: ?Sized>(val: &T) -> usize { /// ``` #[inline] #[stable(feature = "needs_drop", since = "1.21.0")] -#[rustc_const_unstable(feature = "const_needs_drop")] pub const fn needs_drop<T>() -> bool { intrinsics::needs_drop::<T>() } |
