about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorAnthonyMikh <anthony.mikh@yandex.ru>2019-09-26 00:31:16 +0300
committerGitHub <noreply@github.com>2019-09-26 00:31:16 +0300
commitf93827f9e446e52619953c3ad2aa6604dfc9f986 (patch)
treec741f63e2f503aa4625231291818510ae793d4dd /src/test/debuginfo/enum-thinlto.rs
parent9b447e2f9fb9b0d3366de90b2de72541b195e99d (diff)
downloadrust-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