about summary refs log tree commit diff
path: root/src/libcore/tests
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-10 23:26:28 -0700
committerGitHub <noreply@github.com>2020-07-10 23:26:28 -0700
commitefda2b58b095306d068a3a165de62acd1e94911b (patch)
tree8188422609bb4819c94cc19aa5718b937222d1a0 /src/libcore/tests
parentf4f969027c6378264be509ba5ae512e35258f2e5 (diff)
parenta065096ff40f7910fd58aa36a76be6cb1c5f1d4d (diff)
downloadrust-efda2b58b095306d068a3a165de62acd1e94911b.tar.gz
rust-efda2b58b095306d068a3a165de62acd1e94911b.zip
Rollup merge of #73887 - DutchGhost:master, r=oli-obk
stabilize const mem::forget

Stabilizes const `mem::forget` as implemented in https://github.com/rust-lang/rust/pull/69617 and tracked in https://github.com/rust-lang/rust/issues/69616.

Closes https://github.com/rust-lang/rust/issues/69616
Diffstat (limited to 'src/libcore/tests')
-rw-r--r--src/libcore/tests/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libcore/tests/lib.rs b/src/libcore/tests/lib.rs
index 68a5e20a66f..090ce471745 100644
--- a/src/libcore/tests/lib.rs
+++ b/src/libcore/tests/lib.rs
@@ -40,7 +40,6 @@
 #![feature(const_raw_ptr_deref)]
 #![feature(never_type)]
 #![feature(unwrap_infallible)]
-#![feature(const_forget)]
 #![feature(option_unwrap_none)]
 #![feature(peekable_next_if)]
 #![feature(partition_point)]