about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2021-10-03 23:13:20 -0700
committerGitHub <noreply@github.com>2021-10-03 23:13:20 -0700
commit5215b855b0e4c84cbcaa3c7afa06f8e3d89f7ca8 (patch)
treecaed7db34e90ef08c07c22e400506f73ca8fb6b0 /compiler/rustc_data_structures/src
parent5e66ba799beaa6d5616e448d3b688e633d0eea62 (diff)
parent9f4cb862caf936858450721b548b303fb3eec351 (diff)
downloadrust-5215b855b0e4c84cbcaa3c7afa06f8e3d89f7ca8.tar.gz
rust-5215b855b0e4c84cbcaa3c7afa06f8e3d89f7ca8.zip
Rollup merge of #88481 - bjorn3:remove_feature_gates, r=cjgillot
Remove some feature gates

The first commit removes various feature gates that are unused. The second commit replaces some `Fn` implementations with `Iterator` implementations, which is much cleaner IMO. The third commit replaces an unboxed_closures feature gate with min_specialization. For some reason the unboxed_closures feature gate suppresses the min_specialization feature gate from triggering on an `TrustedStep` impl. The last comment just turns a regular comment into a doc comment as drive by cleanup. I can move it to a separate PR if preferred.
Diffstat (limited to 'compiler/rustc_data_structures/src')
-rw-r--r--compiler/rustc_data_structures/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/lib.rs b/compiler/rustc_data_structures/src/lib.rs
index b1f04bfbf0a..370e8ffed72 100644
--- a/compiler/rustc_data_structures/src/lib.rs
+++ b/compiler/rustc_data_structures/src/lib.rs
@@ -7,7 +7,6 @@
 //! This API is completely unstable and subject to change.
 
 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
-#![feature(allow_internal_unstable)]
 #![feature(array_windows)]
 #![feature(associated_type_bounds)]
 #![feature(auto_traits)]