bazelbuild / bazelbuild/rules_rust

clippy: possibly unexpected user experience with `cap-lints=warn` and user-defined `--deny` flags

Open
#2,548 0 comments 0 reactions 0 assignees View on GitHub
needs-triage
Dominant language
Starlark
Stars
843
Forks
651
Avg merge
2d 18h
Merged PRs (30d)
15

Description

@buchgr noticed on https://github.com/bazelbuild/rules_rust/pull/2451#issuecomment-1941114502 that the current behavior to cap-lints when combined with user-defined --deny flags might be unexpected for users, as those will be down-graded to warnings:
>However, I'd expect the rules to error if a an unsupported deny lint is specified, rather than silently ignore it.

Also related to https://github.com/bazelbuild/rules_rust/pull/1264.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.