Rust beta (1.87) and nightly (1.88) lint cleanups
Status from this message: Applied to `rust-fixes` -- thanks everyone!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | objtool/rust: add one more `noreturn` Rust function for Rust 1.87.0tools/ | +1 | 13 replies | |
| 2/5 | rust: clean Rust 1.87.0's `clippy::ptr_eq` lintsrust/ rust/ | +7 | 2 replies | |
| 3/5 | rust: clean Rust 1.88.0's `unnecessary_transmutes` lintinit/ rust/ rust/ | +5 | 0 replies | |
| 4/5 | rust: clean Rust 1.88.0's warning about `clippy::disallowed_macros` configuration.clippy.toml | +1 | 0 replies | |
| 5/5 | rust: clean Rust 1.88.0's `clippy::uninlined_format_args` lintdrivers/ rust/ rust/ +3 more | +35 | 2 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Tamir Duberstein | Benno Lossin | Alice Ryhl |
|---|---|---|---|
| Series | R-b | ||
| 1/5 | |||
| 2/5 | |||
| 3/5 | |||
| 4/5 | |||
| 5/5 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/5] Rust beta (1.87) and nightly (1.88) lint cleanups
Now that Rust 1.87.0 is close to release, clean up the new lints that appeared.
It may be that one of the patches is not needed by the time it releases, but I prefer to not wait much longer since I would like to land this for -rc6 so that it is clean for release.
In addition, clean some nightly (1.88.0) ones too.
Miguel Ojeda (5):
objtool/rust: add one more noreturn Rust function for Rust 1.87.0
rust: clean Rust 1.87.0's clippy::ptr_eq lints
rust: clean Rust 1.88.0's unnecessary_transmutes lint
rust: clean Rust 1.88.0's warning about clippy::disallowed_macros
configuration
rust: clean Rust 1.88.0's clippy::uninlined_format_args lint
.clippy.toml | 2 +- drivers/gpu/nova-core/gpu.rs | 2 +- init/Kconfig | 3 ++ rust/bindings/lib.rs | 1 + rust/kernel/alloc/kvec.rs | 2 +- rust/kernel/list.rs | 12 +++--- rust/kernel/str.rs | 46 +++++++++++------------ rust/macros/kunit.rs | 13 ++----- rust/macros/module.rs | 19 +++------- rust/macros/paste.rs | 2 +- rust/pin-init/internal/src/pinned_drop.rs | 3 +- rust/uapi/lib.rs | 1 + tools/objtool/check.c | 1 + 13 files changed, 49 insertions(+), 58 deletions(-)
base-commit: b4432656b36e5cc1d50a1f2dc15357543add530e --
2.49.0