diff options
| author | bors <bors@rust-lang.org> | 2024-08-25 17:28:51 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-08-25 17:28:51 +0000 |
| commit | 083e20a6dcf8369b104f7e2fa1c31596d82992ca (patch) | |
| tree | 9ef328c4bb618e0257e965e8ff792e2fc017b89a /library/std/src/sys/pal/unix/stack_overflow.rs | |
| parent | 40bca0d944c6356dfd3a65e2466f3a05ee2dbb83 (diff) | |
| parent | 197b444407b86b1990f4051b1cb28181e45eb965 (diff) | |
| download | rust-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
