Skip to content

rustc_parse: Tweak the function parameter name check - #69587

Merged
bors merged 1 commit into
rust-lang:masterfrom
petrochenkov:reqname
Feb 29, 2020
Merged

rustc_parse: Tweak the function parameter name check#69587
bors merged 1 commit into
rust-lang:masterfrom
petrochenkov:reqname

Conversation

@petrochenkov

Copy link
Copy Markdown
Contributor

The function doesn't need a full token, only its edition.

Noticed while implementing #69384.
I'm still not sure whether normalized or unnormalized token is a better fit for the edition check here, so #69384 and this PR just keep the status quo behavior.
r? @Centril

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 29, 2020
@Centril

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@bors

bors commented Feb 29, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 65a666c has been approved by Centril

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 29, 2020
bors added a commit that referenced this pull request Feb 29, 2020
Rollup of 7 pull requests
Successful merges:
- #69504 (Use assert_ne in hash tests)
- #69571 (remove unneeded .as_ref() calls.)
- #69572 (use .iter() instead of .into_iter() on references)
- #69581 (fix aliasing violation in align_to_mut)
- #69582 (improve transmute and Vec::from_raw_parts docs)
- #69584 (Correct comment to match behavior)
- #69587 (rustc_parse: Tweak the function parameter name check)
Failed merges:
r? @ghost
@bors
bors merged commit ad200af into rust-lang:masterFeb 29, 2020
@petrochenkov
petrochenkov deleted the reqname branch February 22, 2025 18:33
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: 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.

4 participants

@petrochenkov@Centril@bors@rust-highfive