pub(super) fn lint<'tcx, 'mir, L>(
    tcx: TyCtxtAt<'tcx>,
    machine: &CompileTimeInterpreter<'mir, 'tcx>,
    lint: &'static Lint,
    decorator: impl FnOnce(Vec<FrameNote>) -> L
)
where L: for<'a> LintDiagnostic<'a, ()>,
Expand description

Emit a lint from a const-eval situation.