rust-clippy/tests
Shea Newton 4ec439bef0
Revisiting indexing_slicing test cases
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.
2018-06-19 16:28:10 +00:00
..
auxiliary Remove all mention and testing of #[plugin(clippy)] and warn if used 2018-05-11 13:20:39 +02:00
run-pass Fix cargo late bound region mismatch ICE 2018-06-07 07:42:45 +02:00
ui Revisiting indexing_slicing test cases 2018-06-19 16:28:10 +00:00
ui-toml Allow configuring the trivial copy size limit 2018-06-15 16:53:34 +02:00
camel_case.rs fallout 2016-08-17 18:35:25 +02:00
compile-test.rs Formatting 2018-06-07 22:01:46 +02:00
dogfood.rs Re-enable dogfood test on Windows 2018-04-03 06:22:42 +02:00
matches.rs Format code 2018-03-16 10:54:49 +01:00
needless_continue_helpers.rs Format code 2018-03-16 10:54:49 +01:00
trim_multiline.rs run rustfmt 2016-12-20 10:20:41 +01:00
versioncheck.rs Format code 2018-05-22 10:21:42 +02:00
without_block_comments.rs Format code 2018-05-22 10:21:42 +02:00