Uh oh!
There was an error while loading. Please reload this page.
diagnostics: make paths to external items more visible - #32439
Conversation
c4c4f58 to
1923d1cComparealexcrichton
commented
Mar 23, 2016
Holy cow I thought I'd never live to see the day this got implemented. Thank you @jseyfried! 🍰 |
6dfa268 to
4f87af1Comparemitaa
commented
Mar 23, 2016
4f87af1 to
62d6ea4CompareThere was a problem hiding this comment.
The RefCell has to be borrowed mutably in this function and I didn't want to needlessly re-borrow it immutably before returning. This function is only used in librustc_metadata so I don't think it makes much difference.
There was a problem hiding this comment.
Could you document this function please?
62d6ea4 to
82da520Comparenrc
commented
Mar 24, 2016
r+ with the nits addressed |
ccc40dc to
17e8ce8Comparejseyfried
commented
Mar 25, 2016
@nrc thanks for the feedback! I addressed your comments in the most recent commit. We should probably wait for #32293 to land before merging this since there will be non-trivial conflicts (cc @nikomatsakis). |
bors
commented
Mar 26, 2016
☔ The latest upstream changes (presumably #32293) made this pull request unmergeable. Please resolve the merge conflicts. |
e43422e to
6ac1799Compareeddyb
commented
Mar 29, 2016
@jseyfried I think this can be r=nrc with |
8183ec4 to
d5ea770Compared5ea770 to
da41e58Comparejseyfried
commented
Mar 30, 2016
@bors r=nrc |
bors
commented
Mar 30, 2016
📌 Commit da41e58 has been approved by |
bors
commented
Mar 31, 2016
diagnostics: make paths to external items more visible This PR changes the reported path for an external item so that it is visible from at least one local module (i.e. it does not use any inaccessible external modules) if possible. If the external item's crate was declared with an `extern crate`, the path is guarenteed to use the `extern crate`. Fixes#23224, fixes#23355, fixes#26635, fixes#27165. r? @nrc
bors
commented
Mar 31, 2016
💥 Test timed out |
eddyb
commented
Mar 31, 2016
@bors force retry |
eddyb
commented
Mar 31, 2016
@bors p=1 |
alexcrichton
commented
Mar 31, 2016
This ended up passing all tests on bors, not sure what happened here so I'm just gonna merge manually |
This PR changes the reported path for an external item so that it is visible from at least one local module (i.e. it does not use any inaccessible external modules) if possible. If the external item's crate was declared with an
extern crate, the path is guarenteed to use theextern crate.Fixes#23224, fixes#23355, fixes#26635, fixes#27165.
r? @nrc