macro_rules! test {
($($t: expr)*) => { i32 }
}
type Test = test!{
123
};
macro_rules! test {
($($t: expr)*) => { i32 }
}
type Test = test!{
123
};;
This unfortunately breaks the code since ;; is invalid.
This is similar to #2290. Once https://github.com/rust-lang/rust/pull/46835 gets merged this will be fixed by rustup update nightly && cargo install --force rustfmt-nightly.
Closed via https://github.com/rust-lang/rust/pull/46835 and #2297.