diff options
| author | Gary Guo <[email protected]> | 2023-09-23 02:46:50 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2023-10-05 19:16:13 +0000 |
| commit | b2516f7af9d238ebc391bdbdae01ac9528f1109e (patch) | |
| tree | e0361740eebb6cecb1c7a65f4e8bb8d5afd5d7e2 /rust/alloc/lib.rs | |
| parent | MAINTAINERS: add Maintainer Entry Profile field for Rust (diff) | |
| download | kernel-b2516f7af9d238ebc391bdbdae01ac9528f1109e.tar.gz kernel-b2516f7af9d238ebc391bdbdae01ac9528f1109e.zip | |
rust: kernel: remove `#[allow(clippy::new_ret_no_self)]`
Clippy triggered a false positive on its `new_ret_no_self` lint
when using the `pin_init!` macro. Since Rust 1.67.0, that does
not happen anymore, since Clippy learnt to not warn about
`-> impl Trait<Self>` [1][2].
The kernel nowadays uses Rust 1.72.1, thus remove the `#[allow]`.
Signed-off-by: Gary Guo <[email protected]>
Reviewed-by: Alice Ryhl <[email protected]>
Reviewed-by: Benno Lossin <[email protected]>
Reviewed-by: Finn Behrens <[email protected]>
Reviewed-by: Martin Rodriguez Reboredo <[email protected]>
Link: https://github.com/rust-lang/rust-clippy/issues/7344 [1]
Link: https://github.com/rust-lang/rust-clippy/pull/9733 [2]
Link: https://lore.kernel.org/r/[email protected]
[ Reworded slightly and added a couple `Link`s. ]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/alloc/lib.rs')
0 files changed, 0 insertions, 0 deletions
