diff options
| author | AnthonyMikh <anthony.mikh@yandex.ru> | 2019-09-26 00:31:16 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-26 00:31:16 +0300 |
| commit | f93827f9e446e52619953c3ad2aa6604dfc9f986 (patch) | |
| tree | c741f63e2f503aa4625231291818510ae793d4dd /src/test/debuginfo/enum-thinlto.rs | |
| parent | 9b447e2f9fb9b0d3366de90b2de72541b195e99d (diff) | |
| download | rust-f93827f9e446e52619953c3ad2aa6604dfc9f986.tar.gz rust-f93827f9e446e52619953c3ad2aa6604dfc9f986.zip | |
Simplify `Emitter::fix_multispan_in_std_macros`
1. Rewrite `if let` into `match` to return earl and avoid indenting giant block 2. Assign `spans_updated` only once
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
