diff options
| author | Benno Lossin <[email protected]> | 2025-04-14 20:00:31 +0000 |
|---|---|---|
| committer | Benno Lossin <[email protected]> | 2025-04-21 21:19:22 +0000 |
| commit | 39051adb070432b283e6c11b2b24937281b9f97f (patch) | |
| tree | 9f6f79e52a25d4a00bd7d922507aa4fbbf39f1b9 /scripts/rustdoc_test_builder.rs | |
| parent | rust: pin-init: examples: conditionally enable `feature(lint_reasons)` (diff) | |
| download | kernel-39051adb070432b283e6c11b2b24937281b9f97f.tar.gz kernel-39051adb070432b283e6c11b2b24937281b9f97f.zip | |
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: https://github.com/Rust-for-Linux/pin-init/pull/33/commits/0e28cbb895bd29f896a59b40e8ed506ea7bef13c
Link: https://lore.kernel.org/all/[email protected]
Signed-off-by: Benno Lossin <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions
