-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Increase verbosity when using update syntax with private fields #70331
Conversation
r? @estebank (rust_highfive has picked a reviewer for you, use r? to override) |
Can you run
Otherwise, LGTM. |
@@ -1038,7 +1045,7 @@ impl<'a, 'tcx> NamePrivacyVisitor<'a, 'tcx> { | |||
def.variant_descr(), | |||
self.tcx.def_path_str(def.did) | |||
) | |||
.span_label(span, "private field") | |||
.span_label(span, label) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought span_label
only took &str
.
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
Sorry about that |
@bors r+ |
📌 Commit 17b97ee has been approved by |
Increase verbosity when using update syntax with private fields Resolves rust-lang#70323
⌛ Testing commit 17b97ee with merge 3abeeca22d8d17699eb4a8abbde2222c8fd8ff3f... |
@bors retry |
Rollup of 7 pull requests Successful merges: - rust-lang#70331 (Increase verbosity when using update syntax with private fields) - rust-lang#70349 (move `hir_id_validation` to `rustc_passes` + simplify `hir::map` code) - rust-lang#70361 (Update backtrace crate to 0.3.46) - rust-lang#70364 (resolve: Remove `rustc_attrs` as a standalone feature gate) - rust-lang#70369 (Fix smaller issues with invalid placeholder type errors) - rust-lang#70373 (normalize some imports & prefer direct ones) - rust-lang#70376 (Add test for rust-lang#66312) Failed merges: r? @ghost
Resolves #70323