about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2018-10-09 18:53:53 -0700
committerEsteban Küber <esteban@kuber.com.ar>2018-10-09 18:53:53 -0700
commit5b0223e8c6bfe89ab3697343d5314c72c806504e (patch)
tree357f731e2f035e66fefd0389221a74be0a737d22 /src/test/incremental/thinlto
parentcd7c8182dd48b2562153324915ba236f3c33cc5d (diff)
downloadrust-5b0223e8c6bfe89ab3697343d5314c72c806504e.tar.gz
rust-5b0223e8c6bfe89ab3697343d5314c72c806504e.zip
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)
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions