2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/rust/pin-init/examples
Benno Lossin 39051adb07 rust: pin-init: examples: use allow instead of expect
Rust 1.78 doesn't emit a `dead_code` error on the annotated element,
resulting in the `unfulfilled_lint_expectations` error. Rust 1.85 does
emit the `dead_code` error, so we still need an `allow`.

Link: 0e28cbb895
Link: https://lore.kernel.org/all/20250414195928.129040-4-benno.lossin@proton.me
Signed-off-by: Benno Lossin <benno.lossin@proton.me>
2025-04-21 23:19:22 +02:00
..
big_struct_in_place.rs
error.rs
linked_list.rs rust: pin-init: examples: conditionally enable feature(lint_reasons) 2025-04-21 23:19:12 +02:00
mutex.rs rust: pin-init: examples: conditionally enable feature(lint_reasons) 2025-04-21 23:19:12 +02:00
pthread_mutex.rs rust: pin-init: examples: use allow instead of expect 2025-04-21 23:19:22 +02:00
static_init.rs rust: pin-init: examples: conditionally enable feature(lint_reasons) 2025-04-21 23:19:12 +02:00