about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/lib.rs
diff options
context:
space:
mode:
authorclubby789 <jamie@hill-daniel.co.uk>2024-01-14 20:08:47 +0000
committerclubby789 <jamie@hill-daniel.co.uk>2024-01-25 14:01:33 +0000
commitfd29f74ff8d787f707a40bc5dbcd8f7827100f5e (patch)
tree432676ee5bde12ea4ebc218e4ae623dfe35e5d51 /compiler/rustc_data_structures/src/lib.rs
parent5bd5d214effd494f4bafb29b3a7a2f6c2070ca5c (diff)
downloadrust-fd29f74ff8d787f707a40bc5dbcd8f7827100f5e.tar.gz
rust-fd29f74ff8d787f707a40bc5dbcd8f7827100f5e.zip
Remove unused features
Diffstat (limited to 'compiler/rustc_data_structures/src/lib.rs')
-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 077e90350a3..563d8501890 100644
--- a/compiler/rustc_data_structures/src/lib.rs
+++ b/compiler/rustc_data_structures/src/lib.rs
@@ -10,6 +10,7 @@
 #![allow(internal_features)]
 #![allow(rustc::default_hash_types)]
 #![allow(rustc::potential_query_instability)]
+#![cfg_attr(not(parallel_compiler), feature(cell_leak))]
 #![deny(rustc::diagnostic_outside_of_impl)]
 #![deny(rustc::untranslatable_diagnostic)]
 #![deny(unsafe_op_in_unsafe_fn)]
@@ -18,7 +19,6 @@
 #![feature(allocator_api)]
 #![feature(array_windows)]
 #![feature(auto_traits)]
-#![feature(cell_leak)]
 #![feature(cfg_match)]
 #![feature(core_intrinsics)]
 #![feature(extend_one)]