fn shallow_lint_levels_on(tcx: TyCtxt<'_>, owner: OwnerId) -> ShallowLintLevelMap