Uh oh!
There was an error while loading. Please reload this page.
Rename PathResolution to PartialRes - #60544
Conversation
Don't use `PartialRes` when `Res` is enough
Paths can never resolve to labels
eddyb
commented
May 4, 2019
This is looking nicer by the day @bors r+ |
bors
commented
May 4, 2019
📌 Commit 0824082ed3ad2b6d7d02423522f24c2bda1bc128 has been approved by |
petrochenkov
commented
May 4, 2019
@eddyb |
petrochenkov
commented
May 4, 2019
@bors r- |
| @@ -142,7 +142,6 @@ pub enum Res<Id = hir::HirId> { | |||
| Upvar(Id, // `HirId` of closed over local | |||
| usize, // index in the `freevars` list of the closure | |||
| ast::NodeId), // expr node that creates the closure | |||
There was a problem hiding this comment.
Btw, I've started a branch removing Res::Upvar just in case you wanted to do that too.
eddyb
commented
May 4, 2019
@bors r+ |
bors
commented
May 4, 2019
📌 Commit 7da9250 has been approved by |
bors
commented
May 5, 2019
⌛ Testing commit 7da9250 with merge ee142165308d6bd1709d8e1108571643e4606994... |
bors
commented
May 5, 2019
💔 Test failed - checks-travis |
rust-highfive
commented
May 5, 2019
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
petrochenkov
commented
May 5, 2019
@bors retry |
bors
commented
May 5, 2019
bors
commented
May 5, 2019
☀️ Test successful - checks-travis, status-appveyor |
Don't use
PartialReswhenResis enough.Rename
Res::kind_nametoRes::descrfor consistency.Remove
Res::Label, paths can never resolve to labels.Some further cleanup after #60462
r? @eddyb