rust/src/test/ui/for
Esteban Küber 5b0223e8c6 Reword rustc_on_unimplemented errors for Iterator
- 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-10-09 18:53:53 -07:00
..
for-c-in-str.rs Reword rustc_on_unimplemented errors for Iterator 2018-10-09 18:53:53 -07:00
for-c-in-str.stderr Reword rustc_on_unimplemented errors for Iterator 2018-10-09 18:53:53 -07:00
for-expn.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
for-expn.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
for-loop-bogosity.rs Reword rustc_on_unimplemented errors for Iterator 2018-10-09 18:53:53 -07:00
for-loop-bogosity.stderr Reword rustc_on_unimplemented errors for Iterator 2018-10-09 18:53:53 -07:00
for-loop-refutable-pattern-error-message.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
for-loop-refutable-pattern-error-message.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
for-loop-type-error.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
for-loop-type-error.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
for-loop-unconstrained-element-type.rs Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00
for-loop-unconstrained-element-type.stderr Merged migrated compile-fail tests and ui tests. Fixes #46841. 2018-08-14 11:12:09 +02:00