Skip to main content

public_ty_path

Function public_ty_path 

Source
fn public_ty_path<'tcx>(ty: Ty<'tcx>) -> String
Expand description

The public path of a type (re-exports resolved: alloc::rc::Rc), with the crate prefix and generic args stripped. public_def_path re-adds the crate.