diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2017-05-04 13:14:24 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2017-05-04 13:14:24 -0400 |
| commit | 0f6d4ac88dfd2ea086a49e9991a67b36902de7c0 (patch) | |
| tree | a057c2b9303abb682a2a9caa876ea237faecaba1 /src | |
| parent | 222971f7d2a098b4b8b57520452ab475bc5ea45f (diff) | |
| download | rust-0f6d4ac88dfd2ea086a49e9991a67b36902de7c0.tar.gz rust-0f6d4ac88dfd2ea086a49e9991a67b36902de7c0.zip | |
kill some unused fields in TyCtxt
Diffstat (limited to 'src')
| -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(), |
