about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-04-08 06:28:15 +0000
committerbors <bors@rust-lang.org>2019-04-08 06:28:15 +0000
commit42e1cf37635c5c7ae752b7ea763578f354c639ae (patch)
treed4f05bb87007335dd3013e93b233248dc917f03d /src/test/incremental/thinlto
parente226f17d526006c9a39c2197134c1e321927399a (diff)
parent2b82c71b559d9886e3ab3a7ad0194a5fe4aab58b (diff)
downloadrust-42e1cf37635c5c7ae752b7ea763578f354c639ae.tar.gz
rust-42e1cf37635c5c7ae752b7ea763578f354c639ae.zip
Auto merge of #3901 - rail-rain:issue_1670, r=flip1995
Fix `explicit_counter_loop` suggestion

#1670

This code seems to me to work, but I have two question.
* Because range expression desugared in hir, `Sugg::hir` doesn't add parenthesis to range expression.  Which function is better to check range do you think, `check_for_loop_explicit_counter` or `hir_from_snippet`?
* Do you think we need to distinguish between range expression and struct expression that creates `std::ops::Range*`?
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions