Function clippy_utils::ty::is_type_ref_to_diagnostic_item
source ยท pub fn is_type_ref_to_diagnostic_item(
cx: &LateContext<'_>,
ty: Ty<'_>,
diag_item: Symbol,
) -> bool
Expand description
Checks if the type is a reference equals to a diagnostic item