Skip to content
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

Merged

Conversation

jseyfried
Copy link
Contributor

@jseyfried jseyfried commented Jul 29, 2016

Fixes #35115, fixes #35135, and lays groundwork for #32213 (cc #35120).
r? @nrc

@jseyfried jseyfried changed the title resolve: diagnostics improvement and groundwork for item_like_imports resolve: diagnostics improvement and groundwork for RFC 1560 Jul 29, 2016
@jseyfried
Copy link
Contributor Author

cc @petrochenkov

@jseyfried jseyfried force-pushed the groundwork_for_new_import_semantics branch 2 times, most recently from 9b5eeae to 6750e63 Compare July 29, 2016 19:59
@bors
Copy link
Contributor

bors commented Jul 30, 2016

☔ The latest upstream changes (presumably #35127) made this pull request unmergeable. Please resolve the merge conflicts.

@jseyfried jseyfried force-pushed the groundwork_for_new_import_semantics branch 2 times, most recently from e340634 to 1fc60db Compare July 31, 2016 21:59
fn deref(&self) -> &Resolver<'b> {
self.resolver
}
}
Copy link
Member

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.

@nrc
Copy link
Member

nrc commented Aug 1, 2016

@bors: r+

@bors
Copy link
Contributor

bors commented Aug 1, 2016

📌 Commit 1fc60db has been approved by nrc

@bors
Copy link
Contributor

bors commented Aug 1, 2016

⌛ Testing commit 1fc60db with merge e7aff48...

@bors
Copy link
Contributor

bors commented Aug 1, 2016

💔 Test failed - auto-win-msvc-64-cargotest

@sanxiyn
Copy link
Member

sanxiyn commented Aug 1, 2016

cargotest failure is legit. (This PR produced additional unused import warnings in cargo which is denied.)

@bors
Copy link
Contributor

bors commented Aug 1, 2016

☔ The latest upstream changes (presumably #34743) made this pull request unmergeable. Please resolve the merge conflicts.

bors added a commit to rust-lang/cargo that referenced this pull request Aug 1, 2016
@jseyfried jseyfried force-pushed the groundwork_for_new_import_semantics branch from 1fc60db to bc77bdc Compare August 1, 2016 19:11
@jseyfried
Copy link
Contributor Author

@bors r=nrc

@bors
Copy link
Contributor

bors commented Aug 1, 2016

📌 Commit bc77bdc has been approved by nrc

@sanxiyn
Copy link
Member

sanxiyn commented Aug 2, 2016

FYI, you need to explicitly update commit hash in src/tools/cargotest/main.rs.

@bors
Copy link
Contributor

bors commented Aug 2, 2016

⌛ Testing commit bc77bdc with merge 2b24fef...

@bors
Copy link
Contributor

bors commented Aug 2, 2016

💔 Test failed - auto-win-msvc-64-cargotest

@jseyfried
Copy link
Contributor Author

@sanxiyn Thanks -- didn't know that!
I updated the cargo_test hash in the above commit.

@bors r=nrc

@bors
Copy link
Contributor

bors commented Aug 3, 2016

📌 Commit 93ab4c6 has been approved by nrc

@bors
Copy link
Contributor

bors commented Aug 4, 2016

⌛ Testing commit 93ab4c6 with merge 7a331fc...

@bors
Copy link
Contributor

bors commented Aug 4, 2016

💔 Test failed - auto-linux-64-cargotest

@jseyfried jseyfried force-pushed the groundwork_for_new_import_semantics branch from 93ab4c6 to de5eaab Compare August 5, 2016 19:28
@jseyfried
Copy link
Contributor Author

@bors r=nrc

@bors
Copy link
Contributor

bors commented Aug 5, 2016

📌 Commit de5eaab has been approved by nrc

@bors
Copy link
Contributor

bors commented Aug 5, 2016

⌛ Testing commit de5eaab with merge 7bf54f9...

bors added a commit that referenced this pull request Aug 5, 2016
… r=nrc

resolve: diagnostics improvement and groundwork for RFC 1560

Fixes #35115, fixes #35135, and lays groundwork for #32213 (cc #35120).
r? @nrc
@bors
Copy link
Contributor

bors commented Aug 6, 2016

💔 Test failed - auto-linux-64-debug-opt

@jseyfried
Copy link
Contributor Author

@bors retry

@bors bors merged commit de5eaab into rust-lang:master Aug 6, 2016
@bors bors mentioned this pull request Aug 6, 2016
@jseyfried jseyfried deleted the groundwork_for_new_import_semantics branch October 16, 2016 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants