mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 17:48:43 +00:00
multiple `FulfillmentErrorCode::Ambiguity` obligations on the same inference variable only ever reported the first — the rest got dropped after `set_tainted_by_errors` fired. grouped them by sub-unification-table root and fold Trait/Projection predicates from the group into notes on the primary. uses the sub root not the raw TyVid so variables unified by a pending Coerce obligation correctly land in the same group. fixes https://github.com/rust-lang/rust/issues/103911