pub fn type_diagnostic_name(cx: &LateContext<'_>, ty: Ty<'_>) -> Option<Symbol>
Expand description

Gets the diagnostic name of the type, if it has one