/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_borrowck/src/ |
H A D | universal_regions.rs | 250 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 D | nll.rs | 379 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 D | mod.rs | 300 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 D | closure.rs | 95 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 D | consts.rs | 147 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 D | util.rs | 462 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 D | core.rs | 270 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 D | region.rs | 821 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 D | polymorphize.rs | 199 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 D | mod.rs | 325 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 D | mod.rs | 2232 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 D | collect.rs | 1482 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 D | conflict_errors.rs | 411 .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 D | suggestions.rs | 1460 let generator_did_root = self.tcx.typeck_root_def_id(generator_did); in maybe_note_obligation_cause_for_async_await()
|