pub(super) fn lint<'tcx, L>(
tcx: TyCtxtAt<'tcx>,
machine: &CompileTimeMachine<'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, with a backtrace.