Function clippy_utils::ty::type_diagnostic_name

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

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