about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorThe Miri Conjob Bot <miri@cron.bot>2024-01-31 05:01:22 +0000
committerThe Miri Conjob Bot <miri@cron.bot>2024-01-31 05:01:22 +0000
commit38b8bd3737d26885202811449f290a2a082a672c (patch)
tree2645f361836f23dc58276ac2f5345ea08f1a8223 /compiler/rustc_data_structures/src
parent63524ee2161dfe6a20f1a757b18e9872b50079bb (diff)
parent80deabd0987201e1b8d060400f50e03309a0105e (diff)
downloadrust-38b8bd3737d26885202811449f290a2a082a672c.tar.gz
rust-38b8bd3737d26885202811449f290a2a082a672c.zip
Merge from rustc
Diffstat (limited to 'compiler/rustc_data_structures/src')
-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)]