about summary refs log tree commit diff
path: root/compiler/rustc_index/src
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_index/src
parent5bd5d214effd494f4bafb29b3a7a2f6c2070ca5c (diff)
downloadrust-fd29f74ff8d787f707a40bc5dbcd8f7827100f5e.tar.gz
rust-fd29f74ff8d787f707a40bc5dbcd8f7827100f5e.zip
Remove unused features
Diffstat (limited to 'compiler/rustc_index/src')
-rw-r--r--compiler/rustc_index/src/lib.rs11
1 files changed, 2 insertions, 9 deletions
diff --git a/compiler/rustc_index/src/lib.rs b/compiler/rustc_index/src/lib.rs
index 185e0c7d698..854841206b8 100644
--- a/compiler/rustc_index/src/lib.rs
+++ b/compiler/rustc_index/src/lib.rs
@@ -2,16 +2,9 @@
 #![deny(rustc::diagnostic_outside_of_impl)]
 #![cfg_attr(
     feature = "nightly",
-    feature(
-        allow_internal_unstable,
-        extend_one,
-        min_specialization,
-        new_uninit,
-        step_trait,
-        stmt_expr_attributes,
-        test
-    )
+    feature(extend_one, min_specialization, new_uninit, step_trait, test)
 )]
+#![cfg_attr(all(feature = "nightly", test), feature(stmt_expr_attributes))]
 #![cfg_attr(feature = "nightly", allow(internal_features))]
 
 pub mod bit_set;