about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2019-09-20 21:09:39 +0100
committerDavid Wood <david@davidtw.co>2019-10-25 09:34:05 +0100
commite0590ea76f528357add6fd6615a82cf49e44f271 (patch)
treee03f971f27d2db9530ff25594b494ce097508bb0 /src/libcore
parentdd2df8f97db8319e0eea433bfbc68244150d7bea (diff)
RFC 2008: Stabilization
This commit stabilizes RFC 2008 (#44109) by removing the feature gate.

Signed-off-by: David Wood <david@davidtw.co>
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs
index 30e8dddff85..0819969b933 100644
--- a/src/libcore/lib.rs
+++ b/src/libcore/lib.rs
@@ -121,7 +121,7 @@
 #![feature(hexagon_target_feature)]
 #![feature(const_int_conversion)]
 #![feature(const_transmute)]
-#![feature(non_exhaustive)]
+#![cfg_attr(bootstrap, feature(non_exhaustive))]
 #![feature(structural_match)]
 #![feature(abi_unadjusted)]
 #![feature(adx_target_feature)]