| /third_party/rust/rust/compiler/rustc_hir/src/ |
| D | def.rs | 53 pub enum DefKind { enum 126 impl DefKind { impl
|
| /third_party/rust/rust/tests/ui-fulldeps/stable-mir/ |
| D | crate-info.rs | 123 item: (DefKind, &str), in get_item()
|
| /third_party/rust/rust/compiler/rustc_hir_typeck/src/ |
| D | check.rs | 215 let DefKind::Fn = tcx.def_kind(fn_id) else { in check_panic_info_fn() localVariable
|
| /third_party/rust/rust/compiler/rustc_middle/src/query/ |
| D | plumbing.rs | 596 pub fn def_kind(self, def_id: impl IntoQueryParam<DefId>) -> DefKind { in def_kind() 604 pub fn def_kind(self, def_id: impl IntoQueryParam<DefId>) -> DefKind { in def_kind()
|
| /third_party/rust/rust/compiler/rustc_query_system/src/query/ |
| D | mod.rs | 50 def_kind: Option<DefKind>, in new()
|
| /third_party/rust/rust/compiler/rustc_middle/src/ty/ |
| D | typeck_results.rs | 302 ) -> LocalTableInContext<'_, Result<(DefKind, DefId), ErrorGuaranteed>> { in type_dependent_defs() 306 pub fn type_dependent_def(&self, id: HirId) -> Option<(DefKind, DefId)> { in type_dependent_def() 317 ) -> LocalTableInContextMut<'_, Result<(DefKind, DefId), ErrorGuaranteed>> { in type_dependent_defs_mut()
|
| D | assoc.rs | 112 pub fn as_def_kind(&self) -> DefKind { in as_def_kind()
|
| D | util.rs | 745 pub fn def_kind_descr(self, def_kind: DefKind, def_id: DefId) -> &'static str { in def_kind_descr() 762 pub fn def_kind_descr_article(self, def_kind: DefKind, def_id: DefId) -> &'static str { in def_kind_descr_article()
|
| /third_party/rust/rust/compiler/rustc_metadata/src/rmeta/decoder/ |
| D | cstore_impl.rs | 558 pub fn def_kind_untracked(&self, def: DefId) -> DefKind { in def_kind_untracked()
|
| /third_party/rust/rust/compiler/rustc_hir_typeck/src/method/ |
| D | mod.rs | 514 ) -> Result<(DefKind, DefId), MethodError<'tcx>> { in resolve_fully_qualified_call()
|
| /third_party/rust/rust/compiler/rustc_borrowck/src/diagnostics/ |
| D | region_name.rs | 848 let DefKind::Impl { .. } = tcx.def_kind(region_parent) else { in give_name_if_anonymous_region_appears_in_impl_signature() localVariable
|
| /third_party/rust/rust/compiler/rustc_hir_analysis/src/astconv/ |
| D | mod.rs | 1243 ) -> Result<(Ty<'tcx>, DefKind, DefId), ErrorGuaranteed> { in associated_path_to_ty() argument 1991 kind: DefKind, in def_ids_for_value_path_segments()
|
| /third_party/rust/rust/compiler/rustc_metadata/src/rmeta/ |
| D | decoder.rs | 802 fn def_kind(self, item_id: DefIndex) -> DefKind { in def_kind() 869 kind: DefKind, in get_variant()
|
| D | encoder.rs | 1943 let DefKind::Impl { of_trait } = tcx.def_kind(id.owner_id) else { continue; }; in encode_impls() localVariable
|
| /third_party/rust/rust/compiler/rustc_hir_typeck/src/fn_ctxt/ |
| D | _impl.rs | 164 r: Result<(DefKind, DefId), ErrorGuaranteed>, in write_resolution()
|
| /third_party/rust/rust/compiler/rustc_middle/src/hir/map/ |
| D | mod.rs | 177 pub(super) fn opt_def_kind(self, local_def_id: LocalDefId) -> Option<DefKind> { in opt_def_kind()
|
| /third_party/rust/rust/src/librustdoc/passes/ |
| D | collect_intra_doc_links.rs | 1121 kind: DefKind, in verify_disambiguator()
|
| /third_party/rust/rust/compiler/rustc_privacy/src/ |
| D | lib.rs | 590 def_kind: DefKind, in update_macro_reachable_def()
|