Skip to main content

handle_diag_from_macros

Function handle_diag_from_macros 

Source
pub(crate) fn handle_diag_from_macros(
    sema: &Semantics<'_, RootDatabase>,
    diag: &mut Diagnostic,
    node: &InFile<SyntaxNode>,
) -> bool
Expand description

Returns whether to keep this diagnostic (or remove it).