paralegal_policy::diagnostics

Function struct_node_diagnostic

Source
fn struct_node_diagnostic<B: HasDiagnosticsBase + ?Sized>(
    base: &B,
    node: GlobalNode,
    severity: Severity,
    msg: impl Into<String>,
) -> DiagnosticBuilder<'_, B>