External Publication
Visit Post

Why can't pat_param be followed by a colon in macro_rules?

Rust Internals [Unofficial] June 13, 2026
Source

Yes, absolutely. But for pat_param specifically, I don't see any argument for keeping the restriction given that it is literally designed to be followed by :.

Discussion in the ATmosphere

Loading comments...