[PATCH 0/2] Rust 1.72.0 upgrade

From: Miguel Ojeda
Date: Wed Aug 23 2023 - 12:03:03 EST


This is the third upgrade to the Rust toolchain since the initial Rust
merge, from 1.71.1 to 1.72.0 (i.e. the latest, to be released tomorrow).

Please see the main patch message for a long explanation of the upgrade,
the policy for future upgrades and some indications on how to easily
review this.

The series is based on `rust-next`.

Miguel Ojeda (2):
rust: arc: add explicit `drop()` around `Box::from_raw()`
rust: upgrade to Rust 1.72.0

Documentation/process/changes.rst | 2 +-
rust/alloc/alloc.rs | 9 +-
rust/alloc/boxed.rs | 10 +-
rust/alloc/lib.rs | 10 +-
rust/alloc/vec/drain_filter.rs | 199 ------------------------------
rust/alloc/vec/extract_if.rs | 115 +++++++++++++++++
rust/alloc/vec/mod.rs | 106 ++++++++--------
rust/kernel/sync/arc.rs | 2 +-
scripts/min-tool-version.sh | 2 +-
9 files changed, 188 insertions(+), 267 deletions(-)
delete mode 100644 rust/alloc/vec/drain_filter.rs
create mode 100644 rust/alloc/vec/extract_if.rs


base-commit: 4af84c6a85c63bec24611e46bb3de2c0a6602a51
--
2.42.0