Skip to content

Finish migrating attribute syntax #13162

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

Merged
merged 2 commits into from
Mar 29, 2014
Merged

Conversation

alexcrichton
Copy link
Member

This is the rebasing of #13068 with a fix for #13067 as the first commit.

@huonw
Copy link
Member

huonw commented Mar 27, 2014

(Needs a rebase.)

bors added a commit that referenced this pull request Mar 28, 2014
This is the rebasing of #13068 with a fix for #13067 as the first commit.
This removes the `attr` matcher and adds a `meta` matcher. The previous `attr`
matcher is now ambiguous because it doesn't disambiguate whether it means inner
attribute or outer attribute.

The new behavior can still be achieved by taking an argument of the form
`#[$foo:meta]` (the brackets are part of the macro pattern).

Closes rust-lang#13067
bors added a commit that referenced this pull request Mar 29, 2014
This is the rebasing of #13068 with a fix for #13067 as the first commit.
@bors bors closed this Mar 29, 2014
@bors bors merged commit 451e8c1 into rust-lang:master Mar 29, 2014
@alexcrichton alexcrichton deleted the attr-syntax branch March 29, 2014 01:28
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

Successfully merging this pull request may close these issues.

4 participants