]> git.lizzy.rs Git - rust.git/commit
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)
commita8151409a0352c4141fc823cdbbd70edfdf88366
treef13f7adf02b21d4b259ff89d336e435e9e332ba2
parent9f283c97e154a81f1407498c6d318d4f1cae94f0
parent3d4b73c26da1630318e76f43a7dedfc4dbc716cd
Auto merge of #9698 - kraktus:xc_bool, r=xFrednet

 [`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`
clippy_lints/src/lib.rs
clippy_lints/src/methods/mod.rs
clippy_utils/src/lib.rs