2
0
Fork 0
mirror of https://github.com/rust-lang/rust-clippy synced 2025-03-08 17:27:29 +00:00
rust-clippy/clippy_lints
bors 083e20a6dc Auto merge of - nyurik:ignore-pass-by-val-for-pfx, r=blyxyas
Ignore underscore-prefixed args for needless_pass_by_value lint

When a user explicitly tags a param as unused (yet?), there is no need to raise another lint on it.

fixes 

Note that I had to rename all `_*` params in the tests, but kept the variable name length to avoid extra changes in the expected output.

changelog: [`needless_pass_by_value`]: do not warn if the argument name starts with an `_`
2024-08-25 17:28:51 +00:00
..
src Auto merge of - nyurik:ignore-pass-by-val-for-pfx, r=blyxyas 2024-08-25 17:28:51 +00:00
Cargo.toml Replace rustc_semver with rustc_session::RustcVersion 2024-08-09 13:00:24 +00:00
README.md

This crate contains Clippy lints. For the main crate, check GitHub.