Closed ExpHP closed 6 years ago
Nice; we'll see what the community says :)
So yesterday I tried working around this, and came to the conclusion that doing so is possible but outrageously difficult. I came to this conclusion when the macro was at a length of about 16 rules with a 150-line test suite, and was still incorrect for the edge case of [mut head, ...mut tail]
, which would have required rewriting the recursive case as an incremental muncher and doubling the size of the test suite.
https://github.com/rust-lang/rust/pull/49614 is coming to the rescue.
rust-lang/rust#49614 is coming to the rescue.
Totally fine with waiting on that :)
Fixed as of rustc stable 1.28.0.
I don't see any solution so I opened this thread as a call for help.