rustc_lint::levels

Function shallow_lint_levels_on

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