diff options
| author | bors <bors@rust-lang.org> | 2019-04-08 06:28:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-04-08 06:28:15 +0000 |
| commit | 42e1cf37635c5c7ae752b7ea763578f354c639ae (patch) | |
| tree | d4f05bb87007335dd3013e93b233248dc917f03d /src/test/incremental/thinlto | |
| parent | e226f17d526006c9a39c2197134c1e321927399a (diff) | |
| parent | 2b82c71b559d9886e3ab3a7ad0194a5fe4aab58b (diff) | |
| download | rust-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
