-
Notifications
You must be signed in to change notification settings - Fork 961
Open
Labels
A-matchesArea: match arms, patterns, blocks, etcArea: match arms, patterns, blocks, etcI-poor-formattingIssue: poor formattingIssue: poor formattingP-mediumMedium priorityMedium priority
Description
The big rustc format made some code I care about much less readable. Here's an example:
- ref mut local @ LocalValue::Live(Operand::Immediate(_)) |
- ref mut local @ LocalValue::Uninitialized => {
- Ok(Ok(local))
- }
+ ref mut local @ LocalValue::Live(Operand::Immediate(_))
+ | ref mut local @ LocalValue::Uninitialized => Ok(Ok(local)),
The actual code running here for this branch got moved onto the same line as the last line of a pattern. That makes it quite hard to visually identify this code -- compared to the old version of the code, the visual separation of pattern and code got lost.
rokkerruslan, Boscop, dima74, HactarCE, daira and 12 morescottmcm, daira, m4heshd, gnprice and Lamby777
Metadata
Metadata
Assignees
Labels
A-matchesArea: match arms, patterns, blocks, etcArea: match arms, patterns, blocks, etcI-poor-formattingIssue: poor formattingIssue: poor formattingP-mediumMedium priorityMedium priority