File tree 1 file changed +1
-6
lines changed
compiler/rustc_query_system/src/ich
1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -111,13 +111,8 @@ impl<'a> HashStable<StableHashingContext<'a>> for SourceFile {
111
111
impl < ' tcx > HashStable < StableHashingContext < ' tcx > > for rustc_feature:: Features {
112
112
fn hash_stable ( & self , hcx : & mut StableHashingContext < ' tcx > , hasher : & mut StableHasher ) {
113
113
// Unfortunately we cannot exhaustively list fields here, since the
114
- // struct is macro generated.
114
+ // struct has private fields (to ensure its invariant is maintained)
115
115
self . enabled_lang_features ( ) . hash_stable ( hcx, hasher) ;
116
116
self . enabled_lib_features ( ) . hash_stable ( hcx, hasher) ;
117
-
118
- // FIXME: why do we hash something that is a compile-time constant?
119
- for feature in rustc_feature:: UNSTABLE_LANG_FEATURES . iter ( ) {
120
- feature. name . hash_stable ( hcx, hasher) ;
121
- }
122
117
}
123
118
}
You can’t perform that action at this time.
0 commit comments