Skip to main content

get_cleaned_def_path_name

Function get_cleaned_def_path_name 

Source
pub fn get_cleaned_def_path_name(tcx: TyCtxt<'_>, def_id: DefId) -> String
Expand description

The internal crate::module::… path of a DefId (e.g. alloc::rcs::rc::Rc), normalised from its def_path_str debug form. Used for display/debug and as the fallback in public_def_path for items without a Ty.