fn public_ty_path<'tcx>(ty: Ty<'tcx>) -> String
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.
alloc::rc::Rc
public_def_path