diff options
| author | bors <bors@rust-lang.org> | 2018-08-28 13:12:16 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-08-28 13:12:16 +0000 |
| commit | ec4a752202e56a9b2d978305cb2603208d4a3ab4 (patch) | |
| tree | eac6806c2bda8972bc3628c5b9f0aa99fcd00542 /src/rustllvm/PassWrapper.cpp | |
| parent | 83ddc33347cade429fdb47509818e775a67c1af6 (diff) | |
| parent | 7f7fadaee6358191fce04debb63bf0bfe0cb2a9e (diff) | |
| download | rust-ec4a752202e56a9b2d978305cb2603208d4a3ab4.tar.gz rust-ec4a752202e56a9b2d978305cb2603208d4a3ab4.zip | |
Auto merge of #53493 - matthewjasper:hair-spans, r=nikomatsakis
Use smaller span for adjustments on block expressions When returning a mutable reference don't use the entire body of the function as the span for the adjustments at the end. The error [in this case](https://github.com/rust-lang/rust/compare/master...matthewjasper:hair-spans?expand=1#diff-ecef8b1f15622fb48a803c9b61605c78) is worse, but neither error message is really what we want. I have some ideas on how to get a better error message that will have to wait for a future PR.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
