-
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
resolve: Fix resolution of empty paths passed from rustdoc #95681
Conversation
r? @davidtwco (rust-highfive has picked a reviewer for you, use r? to override) |
--> $DIR/global-path.rs:6:6 | ||
| | ||
LL | /// [::Unresolved] | ||
| ^^^^^^^^^^^^ no item named `` in scope |
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.
Unrelated to the changes here, this error message seems wrong. Should we open an issue to change the diagnostic to check for empty paths?
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.
Maybe.
I don't plan to work on this personally.
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'm looking into it.
@bors r+ rollup |
📌 Commit 7faaf8f has been approved by |
resolve: Fix resolution of empty paths passed from rustdoc Fixes rust-lang#95337 (comment)
Rollup of 8 pull requests Successful merges: - rust-lang#88025 (ScmCredentials netbsd implementation.) - rust-lang#95473 (track individual proc-macro expansions in the self-profiler) - rust-lang#95547 (caution against ptr-to-int transmutes) - rust-lang#95585 (Explain why `&T` is cloned when `T` is not `Clone`) - rust-lang#95591 (Use revisions to track NLL test output (part 1)) - rust-lang#95663 (diagnostics: give a special note for unsafe fn / Fn/FnOnce/FnMut) - rust-lang#95673 (:arrow_up: rust-analyzer) - rust-lang#95681 (resolve: Fix resolution of empty paths passed from rustdoc) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Hi folks, I think I may be getting an ICE related to this PR: #95712 |
Fixes #95337 (comment)