rustc_lint::levels

Function shallow_lint_levels_on

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