Skip to content

Add Span to ast::WhereClause - #43501

Merged
bors merged 1 commit into
rust-lang:masterfrom
topecongiro:span-to-whereclause
Jul 30, 2017
Merged

Add Span to ast::WhereClause#43501
bors merged 1 commit into
rust-lang:masterfrom
topecongiro:span-to-whereclause

Conversation

@topecongiro

Copy link
Copy Markdown
Contributor

This PR adds Span field to ast::WhereClause. The motivation here is to make rustfmt's life easier when recovering comments before and after where clause.
r? @nrc

@alexcrichtonalexcrichton added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 27, 2017
nrc
nrc approved these changes Jul 28, 2017

@nrcnrc 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.

r=me with that minor change

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.

Should use span here rather than DUMMY_SP

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Thanks!

@topecongiro

Copy link
Copy Markdown
ContributorAuthor

Rebased.

@estebank

Copy link
Copy Markdown
Contributor

@bors r=nrc

@bors

bors commented Jul 28, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit 6375b77 has been approved by nrc

@Mark-Simulacrum

Copy link
Copy Markdown
Member

@bors rollup

frewsxcv added a commit to frewsxcv/rust that referenced this pull request Jul 29, 2017
Add Span to ast::WhereClause
This PR adds `Span` field to `ast::WhereClause`. The motivation here is to make rustfmt's life easier when recovering comments before and after where clause.
r? @nrc
@frewsxcvfrewsxcv mentioned this pull request Jul 29, 2017
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Jul 30, 2017
Add Span to ast::WhereClause
This PR adds `Span` field to `ast::WhereClause`. The motivation here is to make rustfmt's life easier when recovering comments before and after where clause.
r? @nrc
bors added a commit that referenced this pull request Jul 30, 2017
Rollup of 8 pull requests
- Successful merges: #43409, #43501, #43509, #43512, #43513, #43536, #43544, #43549
- Failed merges:
@bors
bors merged commit 6375b77 into rust-lang:masterJul 30, 2017
@topecongiro
topecongiro deleted the span-to-whereclause branch July 30, 2017 06:09
@kennytm

Copy link
Copy Markdown
Member

@bors p=-2 (unblock bors)

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-reviewStatus: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@topecongiro@estebank@bors@Mark-Simulacrum@kennytm@nrc@alexcrichton