about summary refs log tree commit diff
path: root/compiler/rustc_query_system
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-10-09 09:01:57 +0200
committerRalf Jung <post@ralfj.de>2024-10-23 09:14:41 +0100
commitad3991d30382676f987a38243b3097d880b9033a (patch)
tree5bde7c4e2e5d386c2c09b2ee0e719dc36ef14b69 /compiler/rustc_query_system
parente1f306899514ea80abc1d1c9f6a57762afb304a3 (diff)
downloadrust-ad3991d30382676f987a38243b3097d880b9033a.tar.gz
rust-ad3991d30382676f987a38243b3097d880b9033a.zip
nightly feature tracking: get rid of the per-feature bool fields
Diffstat (limited to 'compiler/rustc_query_system')
-rw-r--r--compiler/rustc_query_system/src/ich/impls_syntax.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_query_system/src/ich/impls_syntax.rs b/compiler/rustc_query_system/src/ich/impls_syntax.rs
index 78c37688d34..68b16a12910 100644
--- a/compiler/rustc_query_system/src/ich/impls_syntax.rs
+++ b/compiler/rustc_query_system/src/ich/impls_syntax.rs
@@ -115,7 +115,7 @@ impl<'tcx> HashStable<StableHashingContext<'tcx>> for rustc_feature::Features {
         self.enabled_lang_features().hash_stable(hcx, hasher);
         self.enabled_lib_features().hash_stable(hcx, hasher);
 
-        self.all_lang_features()[..].hash_stable(hcx, hasher);
+        // FIXME: why do we hash something that is a compile-time constant?
         for feature in rustc_feature::UNSTABLE_FEATURES.iter() {
             feature.feature.name.hash_stable(hcx, hasher);
         }