| /third_party/rust/rust/compiler/rustc_span/src/ |
| D | def_id.rs | 309 pub fn as_local(self) -> Option<LocalDefId> { in as_local() 315 pub fn expect_local(self) -> LocalDefId { in expect_local() 381 pub struct LocalDefId { struct 386 // `LocalDefId` must not implement `Ord` or `PartialOrd`. argument 388 impl !Ord for LocalDefId {} implementation 389 impl !PartialOrd for LocalDefId {} implementation 393 impl Idx for LocalDefId { implementation 404 impl LocalDefId { implementation 416 impl fmt::Debug for LocalDefId { implementation 422 impl<E: Encoder> Encodable<E> for LocalDefId { implementation [all …]
|
| /third_party/rust/rust/compiler/rustc_hir_analysis/src/coherence/ |
| D | mod.rs | 21 fn check_impl(tcx: TyCtxt<'_>, impl_def_id: LocalDefId, trait_ref: ty::TraitRef<'_>) { in check_impl() 40 impl_def_id: LocalDefId, in enforce_trait_manually_implementable() 80 impl_def_id: LocalDefId, in enforce_empty_impls_for_marker_traits() 140 impl_def_id: LocalDefId, in check_object_overlap()
|
| D | builtin.rs | 47 F: FnMut(TyCtxt<'tcx>, LocalDefId), in check() argument 58 fn visit_implementation_of_drop(tcx: TyCtxt<'_>, impl_did: LocalDefId) { in visit_implementation_of_drop() 71 fn visit_implementation_of_copy(tcx: TyCtxt<'_>, impl_did: LocalDefId) { in visit_implementation_of_copy() 102 fn visit_implementation_of_const_param_ty(tcx: TyCtxt<'_>, impl_did: LocalDefId) { in visit_implementation_of_const_param_ty() 125 fn visit_implementation_of_coerce_unsized(tcx: TyCtxt<'_>, impl_did: LocalDefId) { in visit_implementation_of_coerce_unsized() 135 fn visit_implementation_of_dispatch_from_dyn(tcx: TyCtxt<'_>, impl_did: LocalDefId) { in visit_implementation_of_dispatch_from_dyn() 531 impl_did: LocalDefId, in infringing_fields_error()
|
| /third_party/rust/rust/src/librustdoc/ |
| D | visit_ast.rs | 44 def_id: LocalDefId, in new() 47 import_id: Option<LocalDefId>, in new() 75 mut def_id: LocalDefId, in inherits_doc_hidden() 76 stop_at: Option<LocalDefId>, in inherits_doc_hidden() 205 fn visit_mod_contents(&mut self, def_id: LocalDefId, m: &'tcx hir::Mod<'tcx>) { in visit_mod_contents() 243 def_id: LocalDefId, in maybe_inline_local() 359 import_def_id: LocalDefId, in reexport_public_and_not_hidden() 360 target_def_id: LocalDefId, in reexport_public_and_not_hidden() 380 parent_id: Option<LocalDefId>, in add_to_current_mod() 405 import_id: Option<LocalDefId>, in visit_item_inner() [all …]
|
| /third_party/rust/rust/compiler/rustc_trait_selection/src/traits/ |
| D | outlives_bounds.rs | 17 body_id: LocalDefId, in implied_outlives_bounds() 24 body_id: LocalDefId, in implied_bounds_tys() 53 body_id: LocalDefId, in implied_outlives_bounds() 126 body_id: LocalDefId, in implied_bounds_tys()
|
| /third_party/rust/rust/compiler/rustc_middle/src/ |
| D | values.rs | 122 mut item_and_field_ids: Vec<(LocalDefId, LocalDefId)>, in recursive_type_error() argument 123 representable_ids: &FxHashSet<LocalDefId>, in recursive_type_error() 205 needle: LocalDefId, in find_item_ty_spans() 207 seen_representable: &FxHashSet<LocalDefId>, in find_item_ty_spans()
|
| /third_party/rust/rust/compiler/rustc_hir_analysis/src/collect/ |
| D | predicates_of.rs | 385 item_def_id: LocalDefId, in compute_bidirectional_outlives_predicates() 386 lifetime_mapping: impl Iterator<Item = (Lifetime, (LocalDefId, Symbol, Span))>, in compute_bidirectional_outlives_predicates() 423 def_id: LocalDefId, in const_evaluatable_predicates_of() 481 def_id: LocalDefId, in trait_explicit_predicates_and_bounds() 489 def_id: LocalDefId, in explicit_predicates_of() 626 trait_def_id: LocalDefId, in super_predicates_of() 640 trait_def_id: LocalDefId, in implied_predicates_of() 719 (item_def_id, def_id, assoc_name): (LocalDefId, LocalDefId, Ident), in type_param_predicates() 818 param_def_id: LocalDefId, in type_parameter_bounds_in_generics()
|
| D | item_bounds.rs | 19 assoc_item_def_id: LocalDefId, in associated_type_bounds() 65 opaque_def_id: LocalDefId, in opaque_type_bounds() 83 def_id: LocalDefId, in explicit_item_bounds()
|
| /third_party/rust/rust/compiler/rustc_ty_utils/src/ |
| D | assoc.rs | 195 fn_def_id: LocalDefId, in associated_types_for_impl_traits_in_associated_fn() 259 opaque_ty_def_id: LocalDefId, in associated_type_for_impl_trait_in_trait() 260 ) -> LocalDefId { in associated_type_for_impl_trait_in_trait() 359 impl_fn_def_id: LocalDefId, in associated_type_for_impl_trait_in_impl() 360 ) -> LocalDefId { in associated_type_for_impl_trait_in_impl()
|
| /third_party/rust/rust/compiler/rustc_resolve/src/ |
| D | effective_visibilities.rs | 43 fn nearest_normal_mod(&mut self, def_id: LocalDefId) -> LocalDefId { in nearest_normal_mod() 117 fn set_bindings_effective_visibilities(&mut self, module_id: LocalDefId) { in set_bindings_effective_visibilities() 206 fn update_def(&mut self, def_id: LocalDefId, nominal_vis: Visibility, parent_id: ParentId<'a>) { in update_def() 220 fn update_field(&mut self, def_id: LocalDefId, parent_id: LocalDefId) { in update_field()
|
| /third_party/rust/rust/compiler/rustc_hir_analysis/src/impl_wf_check/ |
| D | min_specialization.rs | 85 pub(super) fn check_min_specialization(tcx: TyCtxt<'_>, impl_def_id: LocalDefId) { in check_min_specialization() 112 fn check_always_applicable(tcx: TyCtxt<'_>, impl1_def_id: LocalDefId, impl2_node: Node) { in check_always_applicable() 133 fn check_has_items(tcx: TyCtxt<'_>, impl1_def_id: LocalDefId, impl2_node: Node, span: Span) { in check_has_items() 142 fn check_constness(tcx: TyCtxt<'_>, impl1_def_id: LocalDefId, impl2_node: Node, span: Span) { in check_constness() 172 impl1_def_id: LocalDefId, in get_impl_substs() 333 impl1_def_id: LocalDefId, in check_predicates()
|
| /third_party/rust/rust/compiler/rustc_hir_analysis/src/check/ |
| D | dropck.rs | 80 drop_impl_did: LocalDefId, in ensure_drop_params_and_item_params_correspond() 115 drop_impl_def_id: LocalDefId, in ensure_drop_predicates_are_implied_by_item_defn() 116 adt_def_id: LocalDefId, in ensure_drop_predicates_are_implied_by_item_defn()
|
| D | check.rs | 75 fn check_struct(tcx: TyCtxt<'_>, def_id: LocalDefId) { in check_struct() 88 fn check_union(tcx: TyCtxt<'_>, def_id: LocalDefId) { in check_union() 160 fn check_static_inhabited(tcx: TyCtxt<'_>, def_id: LocalDefId) { in check_static_inhabited() 236 def_id: LocalDefId, in check_opaque_for_inheriting_lifetimes() 362 def_id: LocalDefId, in check_opaque_for_cycles() 396 def_id: LocalDefId, in check_opaque_meets_bounds() 495 fn check_static_linkage(tcx: TyCtxt<'_>, def_id: LocalDefId) { in check_static_linkage() 738 impl_id: LocalDefId, in check_impl_items_against_trait() 904 pub fn check_simd(tcx: TyCtxt<'_>, sp: Span, def_id: LocalDefId) { in check_simd() 1182 fn check_enum(tcx: TyCtxt<'_>, def_id: LocalDefId) { in check_enum() [all …]
|
| /third_party/rust/rust/compiler/rustc_hir_typeck/src/ |
| D | closure.rs | 350 expr_def_id: LocalDefId, in sig_of_closure() 367 expr_def_id: LocalDefId, in sig_of_closure_no_expectation() 426 expr_def_id: LocalDefId, in sig_of_closure_with_expectation() 479 expr_def_id: LocalDefId, in sig_of_closure_with_mismatched_number_of_arguments() 522 expr_def_id: LocalDefId, in merge_supplied_sig_with_expectation() 616 expr_def_id: LocalDefId, in supplied_sig_of_closure() 684 expr_def_id: LocalDefId, in deduce_future_output_from_obligations() 685 body_def_id: LocalDefId, in deduce_future_output_from_obligations() 837 expr_def_id: LocalDefId, in closure_sigs()
|
| D | check.rs | 32 fn_def_id: LocalDefId, in check_fn() 181 fn_id: LocalDefId, in check_panic_info_fn() 236 def_id: LocalDefId, in check_lang_start_fn()
|
| /third_party/rust/rust/src/tools/clippy/clippy_lints/src/ |
| D | return_self_not_must_use.rs | 71 fn check_method(cx: &LateContext<'_>, decl: &FnDecl<'_>, fn_def: LocalDefId, span: Span, owner_id: … in check_method() 112 fn_def: LocalDefId, in check_fn()
|
| /third_party/rust/rust/compiler/rustc_passes/src/ |
| D | dead.rs | 560 worklist: &mut Vec<LocalDefId>, in check_item() 561 struct_constructors: &mut LocalDefIdMap<LocalDefId>, in check_item() 618 fn check_trait_item(tcx: TyCtxt<'_>, worklist: &mut Vec<LocalDefId>, id: hir::TraitItemId) { in check_trait_item() 630 fn check_foreign_item(tcx: TyCtxt<'_>, worklist: &mut Vec<LocalDefId>, id: hir::ForeignItemId) { in check_foreign_item() 638 fn create_and_seed_worklist(tcx: TyCtxt<'_>) -> (Vec<LocalDefId>, LocalDefIdMap<LocalDefId>) { in create_and_seed_worklist() 728 dead_codes: &[LocalDefId], in warn_multiple_dead_codes() 730 parent_item: Option<LocalDefId>, in warn_multiple_dead_codes() 827 def_id: LocalDefId, in warn_dead_fields_and_variants() 850 fn warn_dead_code(&mut self, id: LocalDefId, participle: &str) { in warn_dead_code() 854 fn check_definition(&mut self, def_id: LocalDefId) { in check_definition() [all …]
|
| D | naked_functions.rs | 26 fn check_mod_naked_functions(tcx: TyCtxt<'_>, module_def_id: LocalDefId) { in check_mod_naked_functions() 61 fn check_inline(tcx: TyCtxt<'_>, def_id: LocalDefId) { in check_inline() 69 fn check_abi(tcx: TyCtxt<'_>, def_id: LocalDefId, abi: Abi) { in check_abi() 128 fn check_asm<'tcx>(tcx: TyCtxt<'tcx>, def_id: LocalDefId, body: &'tcx hir::Body<'tcx>) { in check_asm()
|
| /third_party/rust/rust/src/tools/clippy/clippy_lints/src/functions/ |
| D | not_unsafe_ptr_arg_deref.rs | 20 def_id: LocalDefId, in check_fn() 43 def_id: LocalDefId, in check_raw_ptr()
|
| /third_party/rust/rust/compiler/rustc_hir_analysis/src/ |
| D | impl_wf_check.rs | 54 fn check_mod_impl_wf(tcx: TyCtxt<'_>, module_def_id: LocalDefId) { in check_mod_impl_wf() 71 fn enforce_impl_params_are_constrained(tcx: TyCtxt<'_>, impl_def_id: LocalDefId) { in enforce_impl_params_are_constrained()
|
| /third_party/rust/rust/compiler/rustc_borrowck/src/ |
| D | universal_regions.rs | 229 mir_def: LocalDefId, in new() 248 closure_def_id: LocalDefId, in closure_mapping() 730 all_outlive_scope: LocalDefId, in replace_bound_regions_with_nll_infer_vars() 739 mir_def_id: LocalDefId, in replace_late_bound_regions_with_nll_infer_vars_in_recursive_scope() 745 mir_def_id: LocalDefId, in replace_late_bound_regions_with_nll_infer_vars_in_item() 772 all_outlive_scope: LocalDefId, in replace_bound_regions_with_nll_infer_vars() 811 mir_def_id: LocalDefId, in replace_late_bound_regions_with_nll_infer_vars_in_recursive_scope() 833 mir_def_id: LocalDefId, in replace_late_bound_regions_with_nll_infer_vars_in_item() 902 mut mir_def_id: LocalDefId, in for_each_late_bound_region_in_recursive_scope() 924 mir_def_id: LocalDefId, in for_each_late_bound_region_in_item()
|
| /third_party/rust/rust/compiler/rustc_hir_analysis/src/collect/type_of/ |
| D | opaque.rs | 112 fn check(&mut self, item_def_id: LocalDefId) { in check() 221 def_id: LocalDefId, in find_opaque_ty_constraints_for_rpit() 222 owner_def_id: LocalDefId, in find_opaque_ty_constraints_for_rpit() 300 fn check(&self, def_id: LocalDefId) { in check()
|
| /third_party/rust/rust/compiler/rustc_mir_transform/src/inline/ |
| D | cycle.rs | 14 (root, target): (ty::Instance<'tcx>, LocalDefId), in mir_callgraph_reachable() argument 39 target: LocalDefId, in mir_callgraph_reachable()
|
| /third_party/rust/rust/compiler/rustc_privacy/src/ |
| D | lib.rs | 361 def_id: LocalDefId, in new_min() 367 def_id: LocalDefId, in of_impl() 383 def_id: LocalDefId, in new_min() 393 def_id: LocalDefId, in new_min() 449 def_id: LocalDefId, in update() 459 def_id: LocalDefId, in update_eff_vis() 479 def_id: LocalDefId, in reach() 492 def_id: LocalDefId, in reach_through_impl_trait() 507 local_def_id: LocalDefId, in update_reachability_from_macro() 545 module_def_id: LocalDefId, in update_macro_reachable() [all …]
|
| /third_party/rust/rust/compiler/rustc_interface/src/ |
| D | proc_macro_decls.rs | 7 fn proc_macro_decls_static(tcx: TyCtxt<'_>, (): ()) -> Option<LocalDefId> { in proc_macro_decls_static()
|