Restructure hir::map::Node and hir::map::Entry#53616
Conversation
This comment has been minimized.
This comment has been minimized.
|
☔ The latest upstream changes (presumably #53460) made this pull request unmergeable. Please resolve the merge conflicts. |
|
struct Entry {
parent: NodeId,
dep_node: DepNodeIndex,
node: Node,
}Add Also, since |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
All done! |
src/librustc/hir/map/collector.rs
Outdated
There was a problem hiding this comment.
I think you actually want CRATE_NODE_ID here.
src/librustc/hir/map/mod.rs
Outdated
src/librustc/hir/mod.rs
Outdated
There was a problem hiding this comment.
I don't think this is super relevant. Also, we could technically make this point to data as well, it'd just not be cleanly separated yet, so we can't do it (would break incremental).
|
LGTM! r? @nikomatsakis or @michaelwoerister |
This comment has been minimized.
This comment has been minimized.
|
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 |
|
@eddyb: well, it didn't like those changes. I guess excluding the crate root was important. |
|
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 |
|
@varkor That just means there are bugs lurking around and they warrant further investigation. |
|
☔ The latest upstream changes (presumably #53640) made this pull request unmergeable. Please resolve the merge conflicts. |
|
@bors r+ |
|
📌 Commit 55c34e5c6e0a4f18e89828f6cf8e1581b8d8ed2e has been approved by |
|
@bors r- |
|
r=me post rebase =) |
src/librustc/hir/map/collector.rs
Outdated
|
@bors r=nikomatsakis |
|
📌 Commit a9d075e has been approved by |
Restructure hir::map::Node and hir::map::Entry - Moves `hir::map::Node` to `hir::Node` and removes the `Node*` prefix from its variants. - Changes `hir::map::Entry` to a struct `hir::map::Entry`. - Removes the `Node*` prefix from each of `AnnNode`s variants. r? @eddyb
|
☀️ Test successful - status-appveyor, status-travis |
|
📣 Toolstate changed by #53616! Tested on commit 59e52b1. 💔 clippy-driver on windows: test-pass → build-fail (cc @Manishearth @llogiq @mcarton @oli-obk, @rust-lang/infra). |
Tested on commit rust-lang/rust@59e52b1. Direct link to PR: <rust-lang/rust#53616> 💔 clippy-driver on windows: test-pass → build-fail (cc @Manishearth @llogiq @mcarton @oli-obk, @rust-lang/infra). 💔 clippy-driver on linux: test-pass → build-fail (cc @Manishearth @llogiq @mcarton @oli-obk, @rust-lang/infra). 💔 rls on windows: test-pass → build-fail (cc @nrc, @rust-lang/infra). 💔 rls on linux: test-pass → build-fail (cc @nrc, @rust-lang/infra).
|
on it wrt clippy failure |
hir::map::Nodetohir::Nodeand removes theNode*prefix from its variants.hir::map::Entryto a structhir::map::Entry.Node*prefix from each ofAnnNodes variants.r? @eddyb