about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm/llvm/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-10-17 11:47:53 +0000
committerbors <bors@rust-lang.org>2018-10-17 11:47:53 +0000
commit1dceaddfbe163e2d916c904b98923342730ba970 (patch)
treea15be80b63089d985c84b03e6c9ed814f06d8232 /src/librustc_codegen_llvm/llvm/mod.rs
parentcbbd70d4f25bc255d80b6b9ba0a65f6c5957f2b7 (diff)
parentdef0f544a31bc6cc3dbf153f28304219fa38fa5c (diff)
downloadrust-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