diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-05-04 21:35:31 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-04 21:35:31 -0400 |
| commit | 3cd7f37482ddf7c2b34f50cf157b55cc8ac4140e (patch) | |
| tree | fe0bccdb92383e95d049a35862ef542732562a42 | |
| parent | 9659c806b815373a1ec854f714fbb0099782afea (diff) | |
| parent | 0f6d4ac88dfd2ea086a49e9991a67b36902de7c0 (diff) | |
| download | rust-3cd7f37482ddf7c2b34f50cf157b55cc8ac4140e.tar.gz rust-3cd7f37482ddf7c2b34f50cf157b55cc8ac4140e.zip | |
Rollup merge of #41754 - nikomatsakis:incr-comp-cleanup-cell, r=arielb1
kill some unused fields in TyCtxt
| -rw-r--r-- | src/librustc/ty/context.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/librustc/ty/context.rs b/src/librustc/ty/context.rs index 42528aac633..c782bea72f4 100644 --- a/src/librustc/ty/context.rs +++ b/src/librustc/ty/context.rs @@ -482,14 +482,6 @@ pub struct GlobalCtxt<'tcx> { /// about. pub used_mut_nodes: RefCell<NodeSet>, - /// The set of external nominal types whose implementations have been read. - /// This is used for lazy resolution of methods. - pub populated_external_types: RefCell<DefIdSet>, - - /// The set of external primitive types whose implementations have been read. - /// FIXME(arielb1): why is this separate from populated_external_types? - pub populated_external_primitive_impls: RefCell<DefIdSet>, - /// Maps any item's def-id to its stability index. pub stability: RefCell<stability::Index<'tcx>>, @@ -767,8 +759,6 @@ impl<'a, 'gcx, 'tcx> TyCtxt<'a, 'gcx, 'tcx> { lang_items: lang_items, used_unsafe: RefCell::new(NodeSet()), used_mut_nodes: RefCell::new(NodeSet()), - populated_external_types: RefCell::new(DefIdSet()), - populated_external_primitive_impls: RefCell::new(DefIdSet()), stability: RefCell::new(stability), selection_cache: traits::SelectionCache::new(), evaluation_cache: traits::EvaluationCache::new(), |
