about summary refs log tree commit diff
path: root/compiler/rustc_data_structures
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2021-10-04 00:33:43 -0400
committerJacob Pratt <jacob@jhpratt.dev>2021-10-04 02:33:33 -0400
commitbce86219830e386d1247364b6018ede2e85d3036 (patch)
tree86f296c4d5473370fb9267b3ae5818e7cdf966fe /compiler/rustc_data_structures
parente737694a4d66b01308b73d4559a35b43e414faf9 (diff)
downloadrust-bce86219830e386d1247364b6018ede2e85d3036.tar.gz
rust-bce86219830e386d1247364b6018ede2e85d3036.zip
Stabilize `const_panic`
Diffstat (limited to 'compiler/rustc_data_structures')
-rw-r--r--compiler/rustc_data_structures/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/lib.rs b/compiler/rustc_data_structures/src/lib.rs
index b1f04bfbf0a..1a6c106f433 100644
--- a/compiler/rustc_data_structures/src/lib.rs
+++ b/compiler/rustc_data_structures/src/lib.rs
@@ -12,7 +12,7 @@
 #![feature(associated_type_bounds)]
 #![feature(auto_traits)]
 #![feature(bool_to_option)]
-#![feature(const_panic)]
+#![cfg_attr(bootstrap, feature(const_panic))]
 #![feature(control_flow_enum)]
 #![feature(core_intrinsics)]
 #![feature(extend_one)]