-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Adjust span labels for HIDDEN_GLOB_REEXPORTS
#112413
Adjust span labels for HIDDEN_GLOB_REEXPORTS
#112413
Conversation
r? @eholk (rustbot has picked a reviewer for you, use r? to override) |
There should be some way to reorder these labels without changing the wording. |
I could just use
|
Let's convert these messages to notes then. |
5dd90a1
to
80176a1
Compare
@bors r+ |
…iaskrgr Rollup of 5 pull requests Successful merges: - rust-lang#112297 (bootstrap: Disallow `--exclude test::std`) - rust-lang#112298 (Update field-offset and enable unstable_offset_of) - rust-lang#112335 (ci: Upgrade loongarch64-linux-gnu GCC to 13.1.0) - rust-lang#112413 (Adjust span labels for `HIDDEN_GLOB_REEXPORTS`) - rust-lang#112483 (Add deprecation warning to python versions <3.6 in x.py) r? `@ghost` `@rustbot` modify labels: rollup
It's been in our backlog for a while to address this in some mechanized way. For now, we've been manually swapping between span labels and span notes on a case by case basis, like you've done here. Thanks for the ping! |
Addresses #111378 (comment).
Before This PR
The possibility that the private item comes before the glob re-export was not account for, causing the span label messages to say "but private item here shadows it" before "the name
Foo
in the type namespace is supposed to be publicly re-exported here".After This PR