Home
last modified time | relevance | path

Searched refs:typeck_root_def_id (Results 1 – 14 of 14) sorted by relevance

/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_borrowck/src/
H A Duniversal_regions.rs250 typeck_root_def_id: DefId, in closure_mapping()
352 let typeck_root_def_id = tcx.typeck_root_def_id(def_id); in annotate() localVariable
367 let typeck_root_def_id = tcx.typeck_root_def_id(def_id); in annotate() localVariable
425 let typeck_root_def_id = self.infcx.tcx.typeck_root_def_id(self.mir_def.did.to_def_id()); in build() localVariable
433 if self.mir_def.did.to_def_id() != typeck_root_def_id { in build()
451 if self.mir_def.did.to_def_id() == typeck_root_def_id { in build()
516 let typeck_root_def_id = tcx.typeck_root_def_id(self.mir_def.did.to_def_id()); in defining_ty() localVariable
521 tcx.type_of(typeck_root_def_id) in defining_ty()
549 if self.mir_def.did.to_def_id() == typeck_root_def_id { in defining_ty()
577 let typeck_root_def_id = tcx.typeck_root_def_id(self.mir_def.did.to_def_id()); in compute_indices() localVariable
[all …]
H A Dnll.rs379 let base_def_id = tcx.typeck_root_def_id(body.source.def_id()); in dump_annotation()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_typeck/src/check/
H A Dmod.rs300 let typeck_root_def_id = tcx.typeck_root_def_id(def_id); in has_typeck_results() localVariable
301 if typeck_root_def_id != def_id { in has_typeck_results()
302 return tcx.has_typeck_results(typeck_root_def_id); in has_typeck_results()
351 let typeck_root_def_id = tcx.typeck_root_def_id(def_id.to_def_id()).expect_local(); in typeck_with_fallback() localVariable
352 if typeck_root_def_id != def_id { in typeck_with_fallback()
353 return tcx.typeck(typeck_root_def_id); in typeck_with_fallback()
H A Dclosure.rs95 self.tcx.typeck_root_def_id(expr_def_id.to_def_id()), in check_closure()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_middle/src/ty/
H A Dconsts.rs147 let typeck_root_def_id = tcx.typeck_root_def_id(def_id.to_def_id()); in from_inline_const() localVariable
149 tcx.erase_regions(InternalSubsts::identity_for_item(tcx, typeck_root_def_id)); in from_inline_const()
H A Dutil.rs462 pub fn typeck_root_def_id(self, def_id: DefId) -> DefId { in typeck_root_def_id() method
/dports/lang/rust/rustc-1.58.1-src/src/librustdoc/
H A Dcore.rs270 let typeck_root_def_id = tcx.typeck_root_def_id(def_id.to_def_id()).expect_local(); localVariable
271 if typeck_root_def_id != def_id {
272 return tcx.typeck(typeck_root_def_id);
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_passes/src/
H A Dregion.rs821 let typeck_root_def_id = tcx.typeck_root_def_id(def_id); in region_scope_tree() localVariable
822 if typeck_root_def_id != def_id { in region_scope_tree()
823 return tcx.region_scope_tree(typeck_root_def_id); in region_scope_tree()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_monomorphize/src/
H A Dpolymorphize.rs199 let base_def_id = tcx.typeck_root_def_id(def_id); in emit_unused_generic_params_error()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_codegen_llvm/src/debuginfo/
H A Dmod.rs325 let enclosing_fn_def_id = self.tcx().typeck_root_def_id(def_id); in dbg_scope_fn()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_borrowck/src/region_infer/
H A Dmod.rs2232 tcx.typeck_root_def_id(closure_def_id), in apply_requirements()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_typeck/src/
H A Dcollect.rs1482 Some(tcx.typeck_root_def_id(def_id)) in generics_of()
1489 Some(tcx.typeck_root_def_id(def_id)) in generics_of()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_borrowck/src/diagnostics/
H A Dconflict_errors.rs411 .get_generics(tcx.typeck_root_def_id(self.mir_def_id().to_def_id())) in report_use_of_moved_or_uninitialized()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_trait_selection/src/traits/error_reporting/
H A Dsuggestions.rs1460 let generator_did_root = self.tcx.typeck_root_def_id(generator_did); in maybe_note_obligation_cause_for_async_await()