Remove derive_macros
This commit is contained in:
parent
cf3b7909fa
commit
05c4ea47fe
1 changed files with 1 additions and 6 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue