1
Fork 0

remove no longer needd UnstableFeature type

This commit is contained in:
Ralf Jung 2024-10-23 08:18:19 +01:00
parent 6ad17bd30c
commit e82bca6f32
4 changed files with 9 additions and 15 deletions

View file

@ -117,7 +117,7 @@ impl<'tcx> HashStable<StableHashingContext<'tcx>> for rustc_feature::Features {
// 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);
feature.name.hash_stable(hcx, hasher);
}
}
}