On-demandify the typechecking of item bodies#40540
Conversation
nikomatsakis
left a comment
There was a problem hiding this comment.
looking good, one minor quibble
src/librustc_typeck/check/mod.rs
Outdated
There was a problem hiding this comment.
probably a good idea to have assert that the CrateNum is indeed LOCAL_CRATE
6b59aeb to
ee584ac
Compare
|
@bors r+ |
|
📌 Commit ee584ac has been approved by |
|
☔ The latest upstream changes (presumably #39628) made this pull request unmergeable. Please resolve the merge conflicts. |
src/librustc_typeck/check/mod.rs
Outdated
There was a problem hiding this comment.
Does the separate DepNode::TypeckBodiesKrate task even need to exist?
There was a problem hiding this comment.
For the moment, yes, because otherwise it causes and ICE with "read/write of Some(TypeckBodiesKrate) but no current task".
Should I try and fix this here somehow or just add a FIXME?
There was a problem hiding this comment.
I think a FIXME is a good idea.
ee584ac to
eacd2da
Compare
eacd2da to
8c92044
Compare
|
@nikomatsakis Added the |
|
@bors r+ |
|
📌 Commit 8c92044 has been approved by |
…ikomatsakis On-demandify the typechecking of item bodies r? @nikomatsakis
|
🔒 Merge conflict |
|
☔ The latest upstream changes (presumably #40826) made this pull request unmergeable. Please resolve the merge conflicts. |
8c92044 to
61cd190
Compare
|
@bors r+ |
|
📌 Commit 61cd190 has been approved by |
61cd190 to
8a27a51
Compare
|
@bors r+ |
|
📌 Commit 8a27a51 has been approved by |
|
☔ The latest upstream changes (presumably #40867) made this pull request unmergeable. Please resolve the merge conflicts. |
8a27a51 to
3b10b4e
Compare
|
@bors r+ |
|
📌 Commit 3b10b4e has been approved by |
On-demandify the typechecking of item bodies r? @nikomatsakis
|
☀️ Test successful - status-appveyor, status-travis |
r? @nikomatsakis