Skip to content

MBE parser is out of date #2505

Open
Open
@JerryQ17

Description

@JerryQ17

rust-lang/rust#143070 rewrites macro_rules! parser to not use the MBE engine itself.

The following is the relevant section (39.2 Macro expansion):

When the compiler comes to a `macro_rules` definition, it uses this pattern to
match the two token trees per the rules of the definition of the macro, _thereby
utilizing the macro parser itself_. In our example definition, the

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions