-
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
move const param structural match checks to wfcheck #75069
Conversation
This comment has been minimized.
This comment has been minimized.
This PR fixes this by moving structural match checks to wfcheck which is now potentially slower, so this requires a perf run. @bors rollup=never |
Apparently this removes some additional overflow errors 🤔 not sure what's going on there, |
☔ The latest upstream changes (presumably #74877) made this pull request unmergeable. Please resolve the merge conflicts. |
b147681
to
38a2409
Compare
I guess this is now ready for review. @bors try @rust-timer queue |
Awaiting bors try build completion |
⌛ Trying commit 38a2409e8b5a84b0533eaa1740322457528825a3 with merge 5a6037833343e7527da4d9a756733f67217c3690... |
38a2409
to
87cfa5f
Compare
@lcnr Why can wfcheck no longer run in parallel? |
☔ The latest upstream changes (presumably #75322) made this pull request unmergeable. Please resolve the merge conflicts. |
Because par visitor only visits items and |
b0ea642
to
6da8707
Compare
Okay, wfcheck is once again running in parallel (or at least it pretends to do so 😆 ) @bors try @rust-timer queue |
Awaiting bors try build completion |
⌛ Trying commit 6da8707cad88d2956f74f4fcb8ac9d448d5edc89 with merge c8d1fc370f403c259cdb0bafec3becd3762076ff... |
Awaiting bors try build completion |
⌛ Trying commit 6da8707cad88d2956f74f4fcb8ac9d448d5edc89 with merge a2cdf852b7b3bb45fc55553dff1f0bb500b319fb... |
☀️ Try build successful - checks-actions, checks-azure |
Queued a2cdf852b7b3bb45fc55553dff1f0bb500b319fb with parent 8e5a277, future comparison URL. |
Finished benchmarking try commit (a2cdf852b7b3bb45fc55553dff1f0bb500b319fb): comparison url. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up. @bors rollup=never |
perf looks neutral to me @bors rollup- |
I'll try to review soon; sorry for the delay. |
📌 Commit 7542615 has been approved by |
⌛ Testing commit 7542615 with merge 21c031407e7a52efbadeee3003da606a35733ce9... |
Your PR failed (pretty log, raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem. 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 |
@rust-lang/infra is that a spurious error? |
yes, but that builder is "fallible", so we could wait for other builders to complete. |
💔 Test failed - checks-azure |
That also seems spurious... @bors retry |
⌛ Testing commit 7542615 with merge 1239664923db3134b29287a9cc04c539d9e9b3a8... |
move const param structural match checks to wfcheck fixes rust-lang#75047 fixes rust-lang#74950 We currently check for structural match violations inside of `type_of`. As we need to check the array length when checking if `[NonEq; arr_len]` is structural match, we potentially require the variance of an expression. Computing the variance requires `type_of` for all types though, resulting in a cycle error. r? @varkor @eddyb
Rolled up |
This comment has been minimized.
This comment has been minimized.
⌛ Testing commit 7542615 with merge 04a457ef6ae72e24e140fc410a099ec582ad32e1... |
@bors retry |
Rollup of 7 pull requests Successful merges: - rust-lang#75069 (move const param structural match checks to wfcheck) - rust-lang#75587 (mir building: fix some comments) - rust-lang#75593 (Adjust installation place for compiler docs) - rust-lang#75648 (Make OnceCell<T> transparent to dropck) - rust-lang#75649 (Fix intra-doc links for inherent impls that are both lang items and not the default impl) - rust-lang#75674 (Move to intra doc links for std::io) - rust-lang#75696 (Remove `#[cfg(miri)]` from OnceCell tests) Failed merges: r? @ghost
fixes #75047 fixes #74950
We currently check for structural match violations inside of
type_of
.As we need to check the array length when checking if
[NonEq; arr_len]
is structural match, we potentially require the variance of an expression. Computing the variance requirestype_of
for all types though, resulting in a cycle error.r? @varkor @eddyb