Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse macro invocation as $:item #55

Closed
dtolnay opened this issue Feb 13, 2018 · 1 comment
Closed

Parse macro invocation as $:item #55

dtolnay opened this issue Feb 13, 2018 · 1 comment

Comments

@dtolnay
Copy link
Contributor

dtolnay commented Feb 13, 2018

The following compiles with rustc 1.19.0 but not mrustc. This is minimized from the libc crate.

macro_rules! outer {
    ($it:item) => {}
}

outer! {
    inner! {}
}
lib.rs:5: BUG:src/macro_rules/eval.cpp:1925: TODO: Macro_InvokeRules_MatchPattern - No arm matched
@thepowersgang
Copy link
Owner

Fxied in 72d3be9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants