Skip to content

syntax: use lookahead to distinguish inner and outer attributes, instead of passing the latter around. #23331

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 1 commit into from
Mar 17, 2015

Conversation

eddyb
Copy link
Member

@eddyb eddyb commented Mar 13, 2015

Most of the changes are cleanup facilitated by straight-forward attribute handling.
This is a minor [breaking-change] for users of quote_stmt! (returns Option<P<Stmt>> now) and some of the public methods in Parser (a few Vec<Attribute> arguments/returns were removed).

r? @nikomatsakis

@nikomatsakis
Copy link
Contributor

@bors r+ 9889aae

nice cleanup

@bors
Copy link
Collaborator

bors commented Mar 16, 2015

⌛ Testing commit 9889aae with merge 92dd995...

bors added a commit that referenced this pull request Mar 16, 2015
Most of the changes are cleanup facilitated by straight-forward attribute handling.
This is a minor [breaking-change] for users of `quote_stmt!` (returns `Option<P<Stmt>>` now) and some of the public methods in `Parser` (a few `Vec<Attribute>` arguments/returns were removed).

r? @nikomatsakis
@bors bors merged commit 9889aae into rust-lang:master Mar 17, 2015
@eddyb eddyb deleted the attr-lookahead branch March 17, 2015 06:41
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.

3 participants