]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #9698 - kraktus:xc_bool, r=xFrednet
authorbors <bors@rust-lang.org>
Sun, 13 Nov 2022 09:57:36 +0000 (09:57 +0000)
committerbors <bors@rust-lang.org>
Sun, 13 Nov 2022 09:57:36 +0000 (09:57 +0000)
 [`fn_params_excessive_bools`] Make it possible to allow the lint at the method level

changelog: FP: [`fn_params_excessive_bools`]: `#[allow]` now works on methods

fix https://github.com/rust-lang/rust-clippy/issues/9687

Tested without committing but `#[allow]`ing now works. Also rewrote the lint to be a late lint while at it :)
r? `@xFrednet`

1  2 
clippy_lints/src/lib.rs
clippy_lints/src/methods/mod.rs
clippy_utils/src/lib.rs

Simple merge
Simple merge
Simple merge