Open
Description
macro_rules! example {
(good) => {
macro_rules! good {
() => {
A
};
}
};
(bad) => {
macro_rules! bad {
() => {
A<'a>
};
}
};
(alsobad) => {
macro_rules! bad {
() => {
A<B>
};
}
};
}
Running multiple rounds of fmt in this causes both versions of bad
's body to be indented indefinitely, but not good
's.
Might be related to #4609, #5044 and other issues involving infinite indentation, but none of them mentioned generics.