let ... = ... else {}
badly and infinitely indented with repeated formatting
#5866
Labels
let ... = ... else {}
badly and infinitely indented with repeated formatting
#5866
This issue is similar to #4609.
To reproduce:
Run
$ rustfmt test.rs
And now you get this:
Notice the bad indentation in
macro_rules! a
andd!(...)
and the unchanged bad indentation inb()
.for
d!()
, this only happens with:!()
macro
keyword (weird!)fn
withmacro
let ... = ... else {};
statement; yes you need;
And for the case in
b()
it just happens anywhere; seems like there is no support for formattinglet ... = ... else {};
statements inrustfmt
?Some of the affected versions
The text was updated successfully, but these errors were encountered: