@@ -219,7 +219,6 @@ pub struct Session {
219219 /// Set of enabled features for the current target.
220220 pub target_features : FxHashSet < Symbol > ,
221221
222- known_attrs : Lock < MarkedAttrs > ,
223222 used_attrs : Lock < MarkedAttrs > ,
224223
225224 /// `Span`s for `if` conditions that we have suggested turning into `if let`.
@@ -1076,14 +1075,6 @@ impl Session {
10761075 == config:: InstrumentCoverage :: ExceptUnusedFunctions
10771076 }
10781077
1079- pub fn mark_attr_known ( & self , attr : & Attribute ) {
1080- self . known_attrs . lock ( ) . mark ( attr)
1081- }
1082-
1083- pub fn is_attr_known ( & self , attr : & Attribute ) -> bool {
1084- self . known_attrs . lock ( ) . is_marked ( attr)
1085- }
1086-
10871078 pub fn mark_attr_used ( & self , attr : & Attribute ) {
10881079 self . used_attrs . lock ( ) . mark ( attr)
10891080 }
@@ -1389,7 +1380,6 @@ pub fn build_session(
13891380 miri_unleashed_features : Lock :: new ( Default :: default ( ) ) ,
13901381 asm_arch,
13911382 target_features : FxHashSet :: default ( ) ,
1392- known_attrs : Lock :: new ( MarkedAttrs :: new ( ) ) ,
13931383 used_attrs : Lock :: new ( MarkedAttrs :: new ( ) ) ,
13941384 if_let_suggestions : Default :: default ( ) ,
13951385 } ;
0 commit comments