1
Fork 0

rename lang feature lists to include LANG

This commit is contained in:
Ralf Jung 2024-10-23 08:20:02 +01:00
parent e82bca6f32
commit 44638853f5
7 changed files with 18 additions and 17 deletions

View file

@ -116,7 +116,7 @@ impl<'tcx> HashStable<StableHashingContext<'tcx>> for rustc_feature::Features {
self.enabled_lib_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() {
for feature in rustc_feature::UNSTABLE_LANG_FEATURES.iter() {
feature.name.hash_stable(hcx, hasher);
}
}