-
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
Don't trigger unused_qualifications
on global paths
#122435
Don't trigger unused_qualifications
on global paths
#122435
Conversation
rustbot has assigned @michaelwoerister. Use r? to explicitly pick a reviewer |
This comment has been minimized.
This comment has been minimized.
a7b37fa
to
fd7f617
Compare
In regards to the linked issue, cc @petrochenkov since you are involved in #121708 |
There seems to be a diagnostics design/policy question involved here. r? diagnostics |
This comment was marked as resolved.
This comment was marked as resolved.
# Conflicts: # tests/ui/lint/lint-qualification.stderr
fd7f617
to
85bad8d
Compare
r? petrochenkov |
This change makes behavior of |
…iaskrgr Rollup of 10 pull requests Successful merges: - rust-lang#122435 (Don't trigger `unused_qualifications` on global paths) - rust-lang#122556 (Extend format arg help for simple tuple index access expression) - rust-lang#122634 (compiletest: Add support for `//@ aux-bin: foo.rs`) - rust-lang#122677 (Fix incorrect mutable suggestion information for binding in ref pattern.) - rust-lang#122691 (Fix ICE: `global_asm!()` Don't Panic When Unable to Evaluate Constant) - rust-lang#122695 (Change only_local to a enum type.) - rust-lang#122717 (Ensure stack before parsing dot-or-call) - rust-lang#122719 (Ensure nested statics have a HIR node to prevent various queries from ICEing) - rust-lang#122720 ([doc]:fix error code example) - rust-lang#122724 (add test for casting pointer to union with unsized tail) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#122435 - jieyouxu:unused_qualifications_global_paths, r=petrochenkov Don't trigger `unused_qualifications` on global paths Fixes rust-lang#122374.
This PR addresses a diagnostics regression (#122519) from stable to what-is-about-to-be-stable (we are currently in the pre-release testing period for 1.78 and the beta branch is for 1.79). Therefore, I believe this should be considered for backporting, and as a "stable" backport rather than "beta" backport. @rustbot label +stable-nominated |
…Simulacrum [stable] 1.78 (round 2) This backports "Don't trigger `unused_qualifications` on global paths" (rust-lang#122435). r? `@Mark-Simulacrum`
Fixes #122374.