Give EarlyBinder a tcx parameter · rust-lang/rust@bbcdb4f
@@ -418,19 +418,19 @@ define_tables! {
418418// As an optimization, we only store this for trait aliases,
419419// since it's identical to super_predicates_of for traits.
420420 implied_predicates_of: Table<DefIndex, LazyValue<ty::GenericPredicates<'static>>>,
421- type_of: Table<DefIndex, LazyValue<ty::EarlyBinder<Ty<'static>>>>,
421+ type_of: Table<DefIndex, LazyValue<ty::EarlyBinder<'static, Ty<'static>>>>,
422422 variances_of: Table<DefIndex, LazyArray<ty::Variance>>,
423- fn_sig: Table<DefIndex, LazyValue<ty::EarlyBinder<ty::PolyFnSig<'static>>>>,
423+ fn_sig: Table<DefIndex, LazyValue<ty::EarlyBinder<'static, ty::PolyFnSig<'static>>>>,
424424 codegen_fn_attrs: Table<DefIndex, LazyValue<CodegenFnAttrs>>,
425425 impl_trait_header: Table<DefIndex, LazyValue<ty::ImplTraitHeader<'static>>>,
426- const_param_default: Table<DefIndex, LazyValue<ty::EarlyBinder<rustc_middle::ty::Const<'static>>>>,
426+ const_param_default: Table<DefIndex, LazyValue<ty::EarlyBinder<'static, rustc_middle::ty::Const<'static>>>>,
427427 object_lifetime_default: Table<DefIndex, LazyValue<ObjectLifetimeDefault>>,
428428 optimized_mir: Table<DefIndex, LazyValue<mir::Body<'static>>>,
429429 mir_for_ctfe: Table<DefIndex, LazyValue<mir::Body<'static>>>,
430430 closure_saved_names_of_captured_variables: Table<DefIndex, LazyValue<IndexVec<FieldIdx, Symbol>>>,
431431 mir_coroutine_witnesses: Table<DefIndex, LazyValue<mir::CoroutineLayout<'static>>>,
432432 promoted_mir: Table<DefIndex, LazyValue<IndexVec<mir::Promoted, mir::Body<'static>>>>,
433- thir_abstract_const: Table<DefIndex, LazyValue<ty::EarlyBinder<ty::Const<'static>>>>,
433+ thir_abstract_const: Table<DefIndex, LazyValue<ty::EarlyBinder<'static, ty::Const<'static>>>>,
434434 impl_parent: Table<DefIndex, RawDefId>,
435435 constness: Table<DefIndex, hir::Constness>,
436436 defaultness: Table<DefIndex, hir::Defaultness>,
@@ -459,7 +459,7 @@ define_tables! {
459459 macro_definition: Table<DefIndex, LazyValue<ast::DelimArgs>>,
460460 proc_macro: Table<DefIndex, MacroKind>,
461461 deduced_param_attrs: Table<DefIndex, LazyArray<DeducedParamAttrs>>,
462- trait_impl_trait_tys: Table<DefIndex, LazyValue<DefIdMap<ty::EarlyBinder<Ty<'static>>>>>,
462+ trait_impl_trait_tys: Table<DefIndex, LazyValue<DefIdMap<ty::EarlyBinder<'static, Ty<'static>>>>>,
463463 doc_link_resolutions: Table<DefIndex, LazyValue<DocLinkResMap>>,
464464 doc_link_traits_in_scope: Table<DefIndex, LazyArray<DefId>>,
465465 assumed_wf_types_for_rpitit: Table<DefIndex, LazyArray<(Ty<'static>, Span)>>,