about summary refs log tree commit diff
path: root/tests/ui/needless_range_loop.rs
AgeCommit message (Collapse)AuthorLines
2020-01-24Split up `needless_range_loop` ui testYuki Okushi-85/+2
2019-04-24UI test cleanup: Extract needless_range_loop testsPhilipp Hansch-0/+71
2019-02-20Make needless_range_loop not applicable to structures without iter methodbzzzz-0/+19
2019-02-11Fix `needless_range_loop` bad suggestionMichael Wright-0/+5
Detect if the index variable is used inside a closure. Fixes #2542
2019-01-08Remove all copyright license headersPhilipp Hansch-9/+0
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
2018-12-09rustfmt testsMatthias Krüger-4/+3
2018-10-19Check for known array length in `needless_range_loop`HMPerson1-1/+15
2018-10-14Swap order of methods in `needless_range_loop` suggestion in some casesOwen Sanchez-0/+14
2018-10-06Add license header to Rust filesManish Goregaokar-0/+10
2017-11-07Don't lint mixed slice indexing and usize indexing in `needless_range_loop`Oliver Schneider-0/+15
2017-11-07Differentiate between mutable iteration and immutable iteration in ↵Oliver Schneider-0/+13
`needless_range_loop`
2017-10-08tests for `needless_range_loop`Andriy S. from cobalt-0/+27