Home
last modified time | relevance | path

Searched defs:DefKind (Results 1 – 18 of 18) sorted by relevance

/third_party/rust/rust/compiler/rustc_hir/src/
Ddef.rs53 pub enum DefKind { enum
126 impl DefKind { impl
/third_party/rust/rust/tests/ui-fulldeps/stable-mir/
Dcrate-info.rs123 item: (DefKind, &str), in get_item()
/third_party/rust/rust/compiler/rustc_hir_typeck/src/
Dcheck.rs215 let DefKind::Fn = tcx.def_kind(fn_id) else { in check_panic_info_fn() localVariable
/third_party/rust/rust/compiler/rustc_middle/src/query/
Dplumbing.rs596 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/
Dmod.rs50 def_kind: Option<DefKind>, in new()
/third_party/rust/rust/compiler/rustc_middle/src/ty/
Dtypeck_results.rs302 ) -> 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()
Dassoc.rs112 pub fn as_def_kind(&self) -> DefKind { in as_def_kind()
Dutil.rs745 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/
Dcstore_impl.rs558 pub fn def_kind_untracked(&self, def: DefId) -> DefKind { in def_kind_untracked()
/third_party/rust/rust/compiler/rustc_hir_typeck/src/method/
Dmod.rs514 ) -> Result<(DefKind, DefId), MethodError<'tcx>> { in resolve_fully_qualified_call()
/third_party/rust/rust/compiler/rustc_borrowck/src/diagnostics/
Dregion_name.rs848 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/
Dmod.rs1243 ) -> 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/
Ddecoder.rs802 fn def_kind(self, item_id: DefIndex) -> DefKind { in def_kind()
869 kind: DefKind, in get_variant()
Dencoder.rs1943 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.rs164 r: Result<(DefKind, DefId), ErrorGuaranteed>, in write_resolution()
/third_party/rust/rust/compiler/rustc_middle/src/hir/map/
Dmod.rs177 pub(super) fn opt_def_kind(self, local_def_id: LocalDefId) -> Option<DefKind> { in opt_def_kind()
/third_party/rust/rust/src/librustdoc/passes/
Dcollect_intra_doc_links.rs1121 kind: DefKind, in verify_disambiguator()
/third_party/rust/rust/compiler/rustc_privacy/src/
Dlib.rs590 def_kind: DefKind, in update_macro_reachable_def()