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
pub fn is_type_ref_to_diagnostic_item(
cx: &LateContext<'_>,
ty: Ty<'_>,
diag_item: Symbol,
) -> bool
Checks if the type is a reference equals to a diagnostic item