Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

MBE parser is out of date #2505

Closed
Closed
Labels
A-macro-expansionArea: macro expansion I-outdatedIssue: info is outdated T-compilerRelevant to compiler team
@JerryQ17

Description

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

    A-macro-expansionArea: macro expansion I-outdatedIssue: info is outdated T-compilerRelevant to compiler team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /