Files
linux-stable-mirror/rust/kernel
Daniel del Castillo 2da76b814e rust: error: replace match + panic in const context with const expect
This patch replaces an instance of match + panic with const expect,
which is now usable in const contexts after the MSRV was updated to
1.85.0 (it was available since Rust 1.83.0).

Suggested-by: Gary Guo <gary@garyguo.net>
Link: https://github.com/Rust-for-Linux/linux/issues/1229
Signed-off-by: Daniel del Castillo <delcastillodelarosadaniel@gmail.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Link: https://patch.msgid.link/20260408200949.99059-1-delcastillodelarosadaniel@gmail.com
[ Adjusted Git author's name with the Signed-off-by value. Reworded
  slightly and removed duplicated word. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2026-05-28 11:08:27 +02:00
..
2026-04-03 11:57:35 +02:00
2026-03-24 23:51:23 +01:00
2026-05-20 00:47:24 +02:00
2026-02-01 22:18:24 +01:00
2026-01-30 05:47:05 +01:00