pub fn is_type_ref_to_diagnostic_item(
cx: &LateContext<'_>,
ty: Ty<'_>,
diag_item: Symbol,
) -> boolExpand description
Checks if the type is a reference equals to a diagnostic item
pub fn is_type_ref_to_diagnostic_item(
cx: &LateContext<'_>,
ty: Ty<'_>,
diag_item: Symbol,
) -> boolChecks if the type is a reference equals to a diagnostic item