Rename PathResolution to PartialRes#60544
Conversation
Don't use `PartialRes` when `Res` is enough
Paths can never resolve to labels
|
This is looking nicer by the day @bors r+ |
|
📌 Commit 0824082ed3ad2b6d7d02423522f24c2bda1bc128 has been approved by |
|
@eddyb |
|
@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.
|
@bors r+ |
|
📌 Commit 7da9250 has been approved by |
|
⌛ Testing commit 7da9250 with merge ee142165308d6bd1709d8e1108571643e4606994... |
|
💔 Test failed - checks-travis |
|
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 |
@bors retry |
|
☀️ 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