about summary refs log tree commit diff
path: root/library/std/src/sys/pal/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-25 17:28:51 +0000
committerbors <bors@rust-lang.org>2024-08-25 17:28:51 +0000
commit083e20a6dcf8369b104f7e2fa1c31596d82992ca (patch)
tree9ef328c4bb618e0257e965e8ff792e2fc017b89a /library/std/src/sys/pal/unix/stack_overflow.rs
parent40bca0d944c6356dfd3a65e2466f3a05ee2dbb83 (diff)
parent197b444407b86b1990f4051b1cb28181e45eb965 (diff)
downloadrust-083e20a6dcf8369b104f7e2fa1c31596d82992ca.tar.gz
rust-083e20a6dcf8369b104f7e2fa1c31596d82992ca.zip
Auto merge of #13113 - 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 #7295

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 `_`
Diffstat (limited to 'library/std/src/sys/pal/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions