Skip to content

Pull out some duplicated code into a new function - #74737

Merged
bors merged 2 commits into
rust-lang:masterfrom
smmalis37:astconv-factor
Jul 27, 2020
Merged

Pull out some duplicated code into a new function#74737
bors merged 2 commits into
rust-lang:masterfrom
smmalis37:astconv-factor

Conversation

@smmalis37

@smmalis37smmalis37 commented Jul 25, 2020

Copy link
Copy Markdown
Contributor

I debated pulling the actual struct_span_err calls into the new method, but I felt like having to pass in multiple arguments for it and wiring up string formatting outweighed the benefits.

Viewing the diff with whitespace ignored is recommended.

@smmalis37

Copy link
Copy Markdown
ContributorAuthor

Uhhh...@rust-highfive? You ok buddy?

@smmalis37

Copy link
Copy Markdown
ContributorAuthor

Well if the bot's not gonna do it...

r? @davidtwco I guess?

@smmalis37

Copy link
Copy Markdown
ContributorAuthor

@rustbot modify labels: S-waiting-on-review

@rustbotrustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 26, 2020

@davidtwcodavidtwco left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thanks!

@davidtwco

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Jul 26, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 617dd0a has been approved by davidtwco

@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 Jul 26, 2020
Manishearth added a commit to Manishearth/rust that referenced this pull request Jul 27, 2020
Pull out some duplicated code into a new function
I debated pulling the actual struct_span_err calls into the new method, but I felt like having to pass in multiple arguments for it and wiring up string formatting outweighed the benefits.
Viewing the diff with whitespace ignored is recommended.
@bors

bors commented Jul 27, 2020

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 617dd0a with merge 9af6b3d...

@bors

bors commented Jul 27, 2020

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions, checks-azure
Approved by: davidtwco
Pushing 9af6b3d to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Jul 27, 2020
@bors
bors merged commit 9af6b3d into rust-lang:masterJul 27, 2020
@smmalis37
smmalis37 deleted the astconv-factor branch July 28, 2020 04:50
@cuvipercuviper added this to the 1.47.0 milestone May 2, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-borsThis PR was explicitly merged by bors.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.

5 participants

@smmalis37@davidtwco@bors@cuviper@rustbot