pub fn shallow_lint_levels_on<'tcx>(_: TyCtxt<'tcx>, _: &Key<'tcx>) -> bool