Function rustc_lint::check_crate

source ·
pub fn check_crate<'tcx, T: LateLintPass<'tcx>>(
    tcx: TyCtxt<'tcx>,
    builtin_lints: impl FnOnce() -> T + Send
)
Expand description

Performs lint checking on a crate.