mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
4ec439bef0
This commit contains a few changes. In an attempt to clarify which test cases should and should not produce stderr it became clear that some cases were being handled incorrectly. In order to address these test cases, a minor re-factor was made to the linting logic itself. The re-factor was driven by edge case handling including a need for additional match conditions for `ExprCall` (`&x[0..=4]`) and `ExprBinary` (`x[1 << 3]`). Rather than attempt to account for each potential `Expr*` the code was re-factored into simply "if ranged index" and an "otherwise" conditions. |
||
---|---|---|
.. | ||
auxiliary | ||
run-pass | ||
ui | ||
ui-toml | ||
camel_case.rs | ||
compile-test.rs | ||
dogfood.rs | ||
matches.rs | ||
needless_continue_helpers.rs | ||
trim_multiline.rs | ||
versioncheck.rs | ||
without_block_comments.rs |