-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
macros: improve struct constructor field hygiene, fix span bug #48082
macros: improve struct constructor field hygiene, fix span bug #48082
Conversation
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
Some UI tests need to be updated for new spans. |
Ping from triage, @jseyfried — will you be able to address the UI test failures sometime soon? |
932b56b
to
169643d
Compare
Yeah, weekend. |
📌 Commit 169643d has been approved by |
…ene, r=jseyfried macros: improve struct constructor field hygiene, fix span bug Fixes rust-lang#47311. r? @nrc
Might be your failure?
|
169643d
to
1e037f4
Compare
@Manishearth Indeed, fixed. |
@bors r+ |
📌 Commit 1e037f4 has been approved by |
☀️ Test successful - status-appveyor, status-travis |
Fixes #47311.
r? @nrc