rust/tests
Shea Newton 8b59542acc
Second pass at addressing changes requested
The changes reflected in this commit (requested in PR #2790) are as follows:

- Extended `INDEXING_SLICING` documentation to include the array type so that it is clearer when indexing operations are allowed.
- Variable `ty` defined identically in multiple scopes was moved to an outer scope so it's only defined once.
- Added a missing return statement to ensure only one lint is triggered by a scenario.
- Prettified match statement with a `let` clause. (I learned something new!)
- Added `&x[5..].iter().map(|x| 2 * x).collect::<Vec<i32>>()` and `&x[2..].iter().map(|x| 2 * x).collect::<Vec<i32>>()` to the test cases. The first _should trigger the lint/stderr_ and the second _should not_.
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 Second pass at addressing changes requested 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
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
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