diff options
| -rw-r--r-- | src/librustc/ty/context.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/librustc/ty/context.rs b/src/librustc/ty/context.rs index 677b7afc95a..83d9aa6dd86 100644 --- a/src/librustc/ty/context.rs +++ b/src/librustc/ty/context.rs @@ -50,7 +50,7 @@ use ty::maps; use ty::steal::Steal; use ty::BindingMode; use ty::CanonicalTy; -use util::nodemap::{NodeMap, DefIdSet, ItemLocalMap}; +use util::nodemap::{DefIdSet, ItemLocalMap}; use util::nodemap::{FxHashMap, FxHashSet}; use rustc_data_structures::accumulate_vec::AccumulateVec; use rustc_data_structures::stable_hasher::{HashStable, hash_stable_hashmap, @@ -888,10 +888,6 @@ pub struct GlobalCtxt<'tcx> { /// Used to prevent layout from recursing too deeply. pub layout_depth: Cell<usize>, - /// Map from function to the `#[derive]` mode that it's defining. Only used - /// by `proc-macro` crates. - pub derive_macros: RefCell<NodeMap<Symbol>>, - stability_interner: Lock<FxHashSet<&'tcx attr::Stability>>, pub interpret_interner: InterpretInterner<'tcx>, @@ -1274,7 +1270,6 @@ impl<'a, 'gcx, 'tcx> TyCtxt<'a, 'gcx, 'tcx> { data_layout, layout_interner: Lock::new(FxHashSet()), layout_depth: Cell::new(0), - derive_macros: RefCell::new(NodeMap()), stability_interner: Lock::new(FxHashSet()), interpret_interner: Default::default(), tx_to_llvm_workers: Lock::new(tx), |
