-
Notifications
You must be signed in to change notification settings - Fork 1k
if-let guard formatting #4955
Copy link
Copy link
Closed
Labels
S-blockedStatus: blocked on rustc, an RFC, impl work, etc.; please also add a block reason labelStatus: blocked on rustc, an RFC, impl work, etc.; please also add a block reason label
Description
if let guard formatting seems to be unsupported in rustfmt:
// This isn't rewritten
fn main() {
match foo {
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa if let Some(bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb) = ccccccccccccccccccccccccccccccccccccccccccccccccc => {}
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
S-blockedStatus: blocked on rustc, an RFC, impl work, etc.; please also add a block reason labelStatus: blocked on rustc, an RFC, impl work, etc.; please also add a block reason label
Type
Fields
Give feedbackNo fields configured for issues without a type.