@@ -50,7 +50,7 @@ use ty::maps;
50
50
use ty:: steal:: Steal ;
51
51
use ty:: BindingMode ;
52
52
use ty:: CanonicalTy ;
53
- use util:: nodemap:: { NodeMap , DefIdSet , ItemLocalMap } ;
53
+ use util:: nodemap:: { DefIdSet , ItemLocalMap } ;
54
54
use util:: nodemap:: { FxHashMap , FxHashSet } ;
55
55
use rustc_data_structures:: accumulate_vec:: AccumulateVec ;
56
56
use rustc_data_structures:: stable_hasher:: { HashStable , hash_stable_hashmap,
@@ -888,10 +888,6 @@ pub struct GlobalCtxt<'tcx> {
888
888
/// Used to prevent layout from recursing too deeply.
889
889
pub layout_depth : Cell < usize > ,
890
890
891
- /// Map from function to the `#[derive]` mode that it's defining. Only used
892
- /// by `proc-macro` crates.
893
- pub derive_macros : RefCell < NodeMap < Symbol > > ,
894
-
895
891
stability_interner : Lock < FxHashSet < & ' tcx attr:: Stability > > ,
896
892
897
893
pub interpret_interner : InterpretInterner < ' tcx > ,
@@ -1274,7 +1270,6 @@ impl<'a, 'gcx, 'tcx> TyCtxt<'a, 'gcx, 'tcx> {
1274
1270
data_layout,
1275
1271
layout_interner : Lock :: new ( FxHashSet ( ) ) ,
1276
1272
layout_depth : Cell :: new ( 0 ) ,
1277
- derive_macros : RefCell :: new ( NodeMap ( ) ) ,
1278
1273
stability_interner : Lock :: new ( FxHashSet ( ) ) ,
1279
1274
interpret_interner : Default :: default ( ) ,
1280
1275
tx_to_llvm_workers : Lock :: new ( tx) ,
0 commit comments