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

Assorted cleanup in parser & AST validation #60751

Merged
merged 4 commits into from
May 12, 2019

Conversation

Centril
Copy link
Contributor

@Centril Centril commented May 12, 2019

r? @petrochenkov

Extracted out of a larger PR.

@@ -3703,7 +3692,7 @@ impl<'a> Parser<'a> {
}
};

if op.fixity() == Fixity::None { break }
if let Fixity::None = fixity { break }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if let Fixity::None = fixity { break }
if fixity == Fixity::None { break }

@petrochenkov
Copy link
Contributor

@bors r+ rollup

@bors
Copy link
Contributor

bors commented May 12, 2019

📌 Commit 4aa4a8f has been approved by petrochenkov

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label May 12, 2019
Centril added a commit to Centril/rust that referenced this pull request May 12, 2019
…nkov

Assorted cleanup in parser & AST validation

r? @petrochenkov

Extracted out of a larger PR.
bors added a commit that referenced this pull request May 12, 2019
Rollup of 4 pull requests

Successful merges:

 - #60694 (Fix HIR printing of existential type #60662)
 - #60750 (syntax: Remove some legacy nonterminal tokens)
 - #60751 (Assorted cleanup in parser & AST validation)
 - #60752 (Fix minor typos for ItemLocalId)

Failed merges:

r? @ghost
@bors bors merged commit 4aa4a8f into rust-lang:master May 12, 2019
@Centril Centril deleted the general-cleanup branch May 12, 2019 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants