diff options
author | Danilo Krummrich <dakr@kernel.org> | 2024-10-04 17:41:26 +0200 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2024-10-15 23:10:32 +0200 |
commit | 29a48d25ff53c183482dc88a99133a0fb5aa541a (patch) | |
tree | b73802fb5e9aaaaf64618639768c5e1c0836c980 /.clippy.toml | |
parent | rust: alloc: add `Vec` to prelude (diff) | |
download | linux-29a48d25ff53c183482dc88a99133a0fb5aa541a.tar.xz linux-29a48d25ff53c183482dc88a99133a0fb5aa541a.zip |
rust: error: use `core::alloc::LayoutError`
Use `core::alloc::LayoutError` instead of `alloc::alloc::LayoutError` in
preparation to get rid of Rust's alloc crate.
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Reviewed-by: Gary Guo <gary@garyguo.net>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Link: https://lore.kernel.org/r/20241004154149.93856-23-dakr@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to '.clippy.toml')
0 files changed, 0 insertions, 0 deletions