rules_rust icon indicating copy to clipboard operation
rules_rust copied to clipboard

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

Open krasimirgg opened this issue 11 months ago • 0 comments

@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.

krasimirgg avatar Mar 13 '24 09:03 krasimirgg