Uh oh!
There was an error while loading. Please reload this page.
Remove CycleErrorHandling. - #153707
Conversation
rustbot
commented
Mar 11, 2026
|
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
bff405c to
a95dd41Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
a95dd41 to
58cc179Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
Zalathar
commented
Mar 13, 2026
The current PR name (and corresponding commit message) is strange to me, especially since it doesn't even mention how or why the signature of Perhaps it would make more sense to frame this PR as removing |
Zalathar
commented
Mar 13, 2026
(In the future, I wonder if we want to replace the |
value_from_cycle_error signature.CycleErrorHandling.nnethercote
commented
Mar 13, 2026
I have added the requested comment and renamed the PR title/commit message title.
Yes. The |
58cc179 to
cba21abCompareZalathar
commented
Mar 13, 2026
r=me, but this will probably need a rebase after #153428. |
This comment has been minimized.
This comment has been minimized.
cba21ab to
4938802Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
nnethercote
commented
Mar 13, 2026
I rebased. @bors r=Zalathar |
This comment has been minimized.
This comment has been minimized.
Its last meaningful uses were removed in rust-lang#153493.
Currently if a cycle error occurs the error is created, then handled according to `CycleErrorHandling` (which comes from the `cycle_delay_bug` query modifer, or lack thereof), and then `value_from_cycle_error` is called. This commit changes things so the error is created and then just passed to `value_from_cycle_error`. This gives `value_from_cycle_error` full control over how it's handled, eliminating the need for `CycleErrorHandling`. This makes things simpler overall.
4938802 to
c6c150bComparerustbot
commented
Mar 13, 2026
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
rustbot
commented
Mar 13, 2026
|
nnethercote
commented
Mar 13, 2026
I rebased. @bors r=Zalathar |
…uwer Rollup of 7 pull requests Successful merges: - #153650 (Streamline active job collection.) - #153707 (Remove `CycleErrorHandling`.) - #153384 (Add missing safety doc for CString::from_vec_unchecked and async_drop_in_place) - #153752 (fix(delegation): Filter Out Module Segments in Generic Args Inheritance) - #153797 (Compiletest: Fix compare-output-by-lines directive) - #153810 (compiletest: Use PYTHONPATH for lldb too, not only gdb) - #153820 (Rename `opt_span_diag_lint` into `opt_span_lint` and remove `emit_diag_lint`)
Uh oh!
There was an error while loading. Please reload this page.
View all comments
This PR removes the
cycle_*query modifiers andCycleErrorHandling. Some good simplicity wins. Details in individual commits.r? @Zalathar