mirror of
https://github.com/allankoechke/rust.git
synced 2026-11-30 11:05:36 +00:00
variances_of currently used search_for_cycle_permutation, which can fail and abort when constructed error result value does not match query input. This commit changes variances_of to receive a def_id which means it can compute a value without using search_for_cycle_permutation, avoiding the possible abort. Fixes #127971