1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-24 17:23:25 -05:00
linux/rust/kernel
Benno Lossin 1a8076ac6d rust: init: make PinInit<T, E> a supertrait of Init<T, E>
Remove the blanket implementation of `PinInit<T, E> for I where I:
Init<T, E>`. This blanket implementation prevented custom types that
implement `PinInit`.

Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Signed-off-by: Benno Lossin <benno.lossin@proton.me>
Link: https://lore.kernel.org/r/20230814084602.25699-12-benno.lossin@proton.me
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2023-08-21 14:31:49 +02:00
..
init rust: init: make PinInit<T, E> a supertrait of Init<T, E> 2023-08-21 14:31:49 +02:00
sync rust: lock: Add intra-doc links to the Backend trait 2023-08-07 11:33:33 +02:00
allocator.rs rust: upgrade to Rust 1.71.1 2023-08-14 17:50:02 +02:00
build_assert.rs
error.rs
init.rs rust: init: make PinInit<T, E> a supertrait of Init<T, E> 2023-08-21 14:31:49 +02:00
ioctl.rs
lib.rs rust: bindgen: upgrade to 0.65.1 2023-08-15 00:37:22 +02:00
prelude.rs rust: add derive macro for Zeroable 2023-08-21 14:31:48 +02:00
print.rs
static_assert.rs
std_vendor.rs
str.rs
sync.rs
task.rs
types.rs rust: types: make Opaque be !Unpin 2023-08-10 01:18:34 +02:00