pub fn is_res_diagnostic_ctor(
    cx: &LateContext<'_>,
    res: Res,
    diag_item: Symbol
) -> bool