Partially revert #9701 This partially reverts #9701 due to #10134 r? `@flip1995` changelog: None
This crate contains Clippy lints. For the main crate, check GitHub.