diff options
| author | bors <bors@rust-lang.org> | 2018-10-09 22:36:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-10-09 22:36:14 +0000 |
| commit | eae47a40484a085f699c3175d51e74901c607e65 (patch) | |
| tree | cc668188444c2ecdbc605b7855bc98ce9fcf960e /src/libsyntax/parse/parser.rs | |
| parent | 96cafc53cfc6667a03c8e77d8e0a2fc96555ff6b (diff) | |
| parent | 1f7dafbb778dc9bff6a13828813fbcd105d977c9 (diff) | |
| download | rust-eae47a40484a085f699c3175d51e74901c607e65.tar.gz rust-eae47a40484a085f699c3175d51e74901c607e65.zip | |
Auto merge of #54734 - pawroman:fix_range_borrowing_suggestion, r=varkor
Fix range literals borrowing suggestions Fixes #54505. The compiler issued incorrect range borrowing suggestions (missing `()` around borrows of range literals). This was not correct syntax (see the issue for an example). With changes in this PR, this is fixed for all types of `Range` literals. Thanks again to @varkor and @estebank for their invaluable help and guidance. r? @varkor
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions
