diff options
| author | David Wood <david@davidtw.co> | 2019-02-05 09:03:39 +0100 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2019-02-05 11:10:04 +0100 |
| commit | b377d0b14ce141b8ce6c9bb22c22b1fb12d8232f (patch) | |
| tree | b8a2924beaa9a67ffe4bc982f567313c3b41dbd0 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 8ae730a442cc8af6a487a137ae9ba78f89edbba6 (diff) | |
| download | rust-b377d0b14ce141b8ce6c9bb22c22b1fb12d8232f.tar.gz rust-b377d0b14ce141b8ce6c9bb22c22b1fb12d8232f.zip | |
Fix span for closure return type when annotated.
This commit 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.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
