about summary refs log tree commit diff
path: root/src/test/ui/for/for-loop-bogosity.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-21/+0
2018-12-25Remove licensesMark Rousskov-10/+0
2018-10-09Reword `rustc_on_unimplemented` errors for `Iterator`Esteban Küber-1/+2
- Detect one element array of `Range` type, which is potentially a typo: `for _ in [0..10] {}` where iterating between `0` and `10` was intended. (#23141) - Suggest `.bytes()` and `.chars()` for `String`. - Suggest borrowing or `.iter()` on arrays (#36391) - Suggest using range literal when iterating on integers (#34353) - Do not suggest `.iter()` by default (#50773, #46806)
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+30