macros: improve struct constructor field hygiene, fix span bug#48082
Merged
bors merged 4 commits intorust-lang:masterfrom Feb 26, 2018
Merged
macros: improve struct constructor field hygiene, fix span bug#48082bors merged 4 commits intorust-lang:masterfrom
bors merged 4 commits intorust-lang:masterfrom
Conversation
Contributor
Author
|
The issue was that we were privacy-checking fields in struct constructors/patterns using the hygiene of the span of the whole field expression, e.g. |
d71e320 to
b9b329c
Compare
31 tasks
Contributor
|
Some UI tests need to be updated for new spans. |
Member
|
Ping from triage, @jseyfried — will you be able to address the UI test failures sometime soon? |
932b56b to
169643d
Compare
Contributor
Author
|
Yeah, weekend. |
Collaborator
|
📌 Commit 169643d has been approved by |
Manishearth
added a commit
to Manishearth/rust
that referenced
this pull request
Feb 19, 2018
…ene, r=jseyfried macros: improve struct constructor field hygiene, fix span bug Fixes rust-lang#47311. r? @nrc
Member
|
Might be your failure? |
169643d to
1e037f4
Compare
Contributor
Author
|
@Manishearth Indeed, fixed. |
bors
added a commit
that referenced
this pull request
Feb 20, 2018
Contributor
|
@bors r+ |
Collaborator
|
📌 Commit 1e037f4 has been approved by |
Collaborator
Collaborator
|
☀️ Test successful - status-appveyor, status-travis |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #47311.
r? @nrc