lukaslueg / macro_railroad

A library to generate syntax diagrams for Rust macros.
MIT License
536 stars 11 forks source link

Parse error for macro map_for #9

Closed jeberger closed 6 years ago

jeberger commented 6 years ago

When pasting the code for the map_for macro into the wasm demo, I get:

Failed to parse, and I didn't even write an error-handler. Anyway:

ParseError(None)

However, the same version of map_for works with the latest Rust compiler (v1.28.0).

dtolnay commented 6 years ago

The macro uses $move as a fragment variable so this looks like the same problem as https://github.com/lukaslueg/macro_railroad/issues/5.

lukaslueg commented 6 years ago

Fixed in 2a45b0c