-
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
Set struct/union/enum fields/variants as reachable when item is #92781
Set struct/union/enum fields/variants as reachable when item is #92781
Conversation
r? @wesleywiser (rust-highfive has picked a reviewer for you, use r? to override) |
This fixes the issue, but I'd like to add a test for this before hand, but I still have to pinpoint the "minimal code" that triggers this. |
It is somewhat urgent since it broke real-world code (though people can stay on older nightlies for now), but it being the only item in the milestone has nothing to do with it. The milestone is just used to track regressions in that version. Development of 1.60 started just days ago, so there's not much there. If you end up adding a test in a later PR instead, make sure to remove the "Fixes" wording from the PR description—we leave issues open and add the |
A reproducer you can turn into a test case.
|
Perhaps worth adding the test now then? |
@lambinoo Could you move it back and make sure it's all preserved compared to the state before #87487? |
@camelid @petrochenkov Will do in a few hours, right after work! |
When this is merged, it might be worth giving it increased bors priority. The linked issue is |
@rustbot label -S-waiting-on-author +S-waiting-on-review |
839a59d
to
257377d
Compare
I tested the test with the current master and it does fail properly so all good on this front! |
r? @petrochenkov @bors p=1 |
257377d
to
11532a3
Compare
@rustbot label -S-waiting-on-author +S-waiting-on-review |
@bors r+ just to land this sooner and fix the regression. |
📌 Commit 11532a362b9fdf139ea24bcc6e1cba695aa996fe has been approved by |
11532a3
to
1b2c64d
Compare
@bors r+ |
📌 Commit 1b2c64d has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (86f7f78): comparison url. Summary: This benchmark run did not return any relevant changes. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
Revert #92781 because the bug on the nightly compiler has been fixed : rust-lang/rust#92781 Closes massalabs#2142
…fixed : rust-lang/rust#92781 Partially resolve massalabs#2142
2155: Revert the version of Rust fixed r=damip a=AurelienFT Revert #2141 because the bug on the nightly compiler has been fixed : rust-lang/rust#92781 This will partially resolve #2142. I don't know which version should be documented for the episode so I didn't add it to this PR. Co-authored-by: AurelienFT <[email protected]> Co-authored-by: AurelienFT <[email protected]>
Fixes #92755