Uh oh!
There was an error while loading. Please reload this page.
Resolve absolute paths as extern under a feature flag - #46613
Conversation
There was a problem hiding this comment.
The part about single-segment imports (use my_crate;/use crate;) works, but it is kinda hacked into.
Solving it properly requires larger refactoring that would also solve a number of pre-existing problems (#29036 and similar).
There was a problem hiding this comment.
Nit: isn't there some helper function we can use here for this test against keywords::CrateRoot.name()?
There was a problem hiding this comment.
There's no such existing function.
(Also there are too many "crate roots" with different properties now, it's better to be explicit.)
There was a problem hiding this comment.
Nit: as above, helper function?
nikomatsakis
commented
Dec 11, 2017
@bors r+ |
bors
commented
Dec 11, 2017
📌 Commit 675581a has been approved by |
bors
commented
Dec 12, 2017
⌛ Testing commit 675581a290571ea38141b1f6e202bf66d444122a with merge 4ae1d40e143c9a1a3722d1b921255c4b4e2bdc74... |
bors
commented
Dec 12, 2017
💔 Test failed - status-travis |
kennytm
commented
Dec 12, 2017
The new gate test failed on Details |
petrochenkov
commented
Dec 12, 2017
@bors r=nikomatsakis |
bors
commented
Dec 12, 2017
📌 Commit b07e26e has been approved by |
bors
commented
Dec 13, 2017
Resolve absolute paths as extern under a feature flag cc #44660 r? @nikomatsakis
bors
commented
Dec 13, 2017
☀️ Test successful - status-appveyor, status-travis |
Support `extern` in paths Implement the primary alternative to #46613 + #45771, achieving the same effect without requiring changes to other imports. Both need to be experimentally evaluated before making further progress. The PR also adds docs for all these related features into the unstable book. cc #44660 r? @nikomatsakis
cc #44660
r? @nikomatsakis