diff options
| author | Miguel Ojeda <[email protected]> | 2024-07-09 16:06:00 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2024-07-10 08:28:52 +0000 |
| commit | bb421b517e4b05d1e971c1fbf6af2f241accbf52 (patch) | |
| tree | 8b4193ebccfbe278e58b068f975f7e0f8b3b22f4 /scripts/rust_is_available_test.py | |
| parent | rust: relax most deny-level lints to warnings (diff) | |
| download | kernel-bb421b517e4b05d1e971c1fbf6af2f241accbf52.tar.gz kernel-bb421b517e4b05d1e971c1fbf6af2f241accbf52.zip | |
rust: simplify Clippy warning flags set
All Clippy lint groups that we enable, except `correctness`, have a
default `warn` level, thus they may be removed now that we relaxed all
lints to `warn`.
Moreover, Clippy provides an `all` lint group that covers the groups
we enable by default. Thus just use `all` instead -- the only change is
that, if Clippy introduces a new lint group or splits an existing one,
we will cover that one automatically.
In addition, `let_unit_value` is in `style` since Rust 1.62.0, thus it
does not need to be enabled manually.
Reviewed-by: Finn Behrens <[email protected]>
Tested-by: Benno Lossin <[email protected]>
Tested-by: Andreas Hindborg <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/rust_is_available_test.py')
0 files changed, 0 insertions, 0 deletions
