-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove obsolete workaround. #85266
Remove obsolete workaround. #85266
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
Hm, the comment says "one such bug"... I wonder if we have tests for all of them. cc @rust-lang/wg-incr-comp |
So I guess we are also saying that #62649 is not a bug anymore? where does #62649 works? nightly, beta, stable? should we close the issue?. Edit: I see there are attempts to fix the mentioned issue at #75641 and there were heavy changes to incr. comp. anyway not 100% sure when was this issue fixed and if it's already fixed on stable and beta. |
Long explanation: This match triggers when we are trying to force the dep-node for hir_owner or hir_owner_nodes with a non-owning def-id (both work exactly the same way). The first branch of the is more interesting. It triggers when As HIR accesses are built so as never to knowingly access those
|
r? @michaelwoerister perhaps? |
OK, this looks good to me. However, we should use this PR as an opportunity to document the invariants @cjgillot mentions, in particular it would be great to do (at least) the following:
Also I have some questions:
|
📌 Commit 4f8e34c has been approved by |
☀️ Test successful - checks-actions |
The regression test for #62649 appears to pass even without the workaround.