diff options
| author | bors <bors@rust-lang.org> | 2019-02-12 00:44:24 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-02-12 00:44:24 +0000 |
| commit | 16ca0b9f6335db824e44629be1cafb6e3fcc4628 (patch) | |
| tree | a1e6d92f2ff1346a68e89c5ec653161728ca30ad /src/rustllvm/RustWrapper.cpp | |
| parent | 57d7cfc3cf50f0c427ad3043ff09eaef20671320 (diff) | |
| parent | b377d0b14ce141b8ce6c9bb22c22b1fb12d8232f (diff) | |
| download | rust-16ca0b9f6335db824e44629be1cafb6e3fcc4628.tar.gz rust-16ca0b9f6335db824e44629be1cafb6e3fcc4628.zip | |
Auto merge of #58180 - davidtwco:issue-58053, r=estebank
Fix span for closure return type when annotated.
Fixes #58053.
This PR adjusts the span used to label closure return types so that
if the user specifies the return type, i.e. `|_| -> X {}` instead of
`|_| {}`, we correctly highlight all of it and not just the last
character.
r? @pnkfelix
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
