Skip to content

Commit a2a5660

Browse files
Rollup merge of #153694 - TKanX:bugfix/153391-cycle-error-key-param, r=nnethercote
fix(query): Pass Query Key to `value_from_cycle_error` ### Summary: Pass the query key directly to `value_from_cycle_error` so that `FromCycleError` impls (notably `FnSig`) can use the recovered query's `DefId` instead of relying on `cycle[0]`, which is arbitrarily rotated by the parallel deadlock handler. As suggested in [#153644 (comment)](rust-lang/rust#153644 (comment)). Closes rust-lang/rust#153391 r? @nnethercote cc @zetanumbers
2 parents 1f8f4dc + bacde4f commit a2a5660

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)