diff options
| author | bors <bors@rust-lang.org> | 2018-10-17 11:47:53 +0000 | 
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-10-17 11:47:53 +0000 | 
| commit | 1dceaddfbe163e2d916c904b98923342730ba970 (patch) | |
| tree | a15be80b63089d985c84b03e6c9ed814f06d8232 /src/librustc_codegen_llvm/llvm/mod.rs | |
| parent | cbbd70d4f25bc255d80b6b9ba0a65f6c5957f2b7 (diff) | |
| parent | def0f544a31bc6cc3dbf153f28304219fa38fa5c (diff) | |
| download | rust-1dceaddfbe163e2d916c904b98923342730ba970.tar.gz rust-1dceaddfbe163e2d916c904b98923342730ba970.zip | |
Auto merge of #54946 - estebank:iterator, r=varkor
Add filtering option to `rustc_on_unimplemented` and reword `Iterator` E0277 errors
 - Add more targetting filters for arrays to `rustc_on_unimplemented` (Fix #53766)
 - Detect one element array of `Range` type, which is potentially a typo:
   `for _ in [0..10] {}` where iterating between `0` and `10` was intended.
   (Fix #23141)
 - Suggest `.bytes()` and `.chars()` for `String`.
 - Suggest borrowing or `.iter()` on arrays (Fix #36391)
 - Suggest using range literal when iterating on integers (Fix #34353)
 - Do not suggest `.iter()` by default (Fix #50773, fix #46806)
 - Add regression test (Fix #22872)
Diffstat (limited to 'src/librustc_codegen_llvm/llvm/mod.rs')
0 files changed, 0 insertions, 0 deletions
