Introduce Print
trait for displaying types
This commit is contained in:
parent
9b0480bec6
commit
cbc6e90288
@ -915,10 +915,6 @@ pub struct GlobalCtxt<'tcx> {
|
||||
/// Maps Expr NodeId's to `true` iff `&expr` can have 'static lifetime.
|
||||
pub rvalue_promotable_to_static: RefCell<NodeMap<bool>>,
|
||||
|
||||
pub display_used_late_bound_region_names: RefCell<Option<FxHashSet<Name>>>,
|
||||
|
||||
pub display_late_bound_region_index: Cell<usize>,
|
||||
|
||||
/// The definite name of the current crate after taking into account
|
||||
/// attributes, commandline parameters, etc.
|
||||
pub crate_name: Symbol,
|
||||
@ -1193,8 +1189,6 @@ impl<'a, 'gcx, 'tcx> TyCtxt<'a, 'gcx, 'tcx> {
|
||||
selection_cache: traits::SelectionCache::new(),
|
||||
evaluation_cache: traits::EvaluationCache::new(),
|
||||
rvalue_promotable_to_static: RefCell::new(NodeMap()),
|
||||
display_used_late_bound_region_names: RefCell::new(None),
|
||||
display_late_bound_region_index: Cell::new(0),
|
||||
crate_name: Symbol::intern(crate_name),
|
||||
data_layout,
|
||||
layout_interner: RefCell::new(FxHashSet()),
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user