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

quote_item! should parse leading attributes #14857

Closed
huonw opened this issue Jun 12, 2014 · 0 comments
Closed

quote_item! should parse leading attributes #14857

huonw opened this issue Jun 12, 2014 · 0 comments
Labels
A-syntaxext Area: Syntax extensions

Comments

@huonw
Copy link
Member

huonw commented Jun 12, 2014

e.g. the following fails to parse (decl is None at runtime: a parse error).

let decl = quote_item!(cx, #[deriving(Eq)] struct CustomStruct;)
huonw added a commit to huonw/rust that referenced this issue Jun 12, 2014
@huonw huonw closed this as completed in f907d97 Jun 13, 2014
bors added a commit to rust-lang-ci/rust that referenced this issue Jun 5, 2023
internal: Shrink ProcMacroExpander from 8 to 4 bytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-syntaxext Area: Syntax extensions
Projects
None yet
Development

No branches or pull requests

1 participant