rustc_lint::context::diagnostics

Function decorate_lint

Source
pub(super) fn decorate_lint(
    sess: &Session,
    diagnostic: BuiltinLintDiag,
    diag: &mut Diag<'_, ()>,
)