-
Notifications
You must be signed in to change notification settings - Fork 13k
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: diagnostics improvement and groundwork for RFC 1560 #35116
resolve: diagnostics improvement and groundwork for RFC 1560 #35116
Conversation
item_like_imports
9b5eeae
to
6750e63
Compare
☔ The latest upstream changes (presumably #35127) made this pull request unmergeable. Please resolve the merge conflicts. |
e340634
to
1fc60db
Compare
fn deref(&self) -> &Resolver<'b> { | ||
self.resolver | ||
} | ||
} |
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 feel dirty just reviewing this code - I really wish we didn't use Deref like this in name resolution. Still the damage is done, I guess this doesn't make things much worse.
@bors: r+ |
📌 Commit 1fc60db has been approved by |
⌛ Testing commit 1fc60db with merge e7aff48... |
💔 Test failed - auto-win-msvc-64-cargotest |
cargotest failure is legit. (This PR produced additional unused import warnings in cargo which is denied.) |
☔ The latest upstream changes (presumably #34743) made this pull request unmergeable. Please resolve the merge conflicts. |
Remove unused import c.f. rust-lang/rust#35116
Improve unused import detection.
1fc60db
to
bc77bdc
Compare
@bors r=nrc |
📌 Commit bc77bdc has been approved by |
FYI, you need to explicitly update commit hash in |
⌛ Testing commit bc77bdc with merge 2b24fef... |
💔 Test failed - auto-win-msvc-64-cargotest |
📌 Commit 93ab4c6 has been approved by |
⌛ Testing commit 93ab4c6 with merge 7a331fc... |
💔 Test failed - auto-linux-64-cargotest |
93ab4c6
to
de5eaab
Compare
@bors r=nrc |
📌 Commit de5eaab has been approved by |
💔 Test failed - auto-linux-64-debug-opt |
@bors retry |
Fixes #35115, fixes #35135, and lays groundwork for #32213 (cc #35120).
r? @nrc