mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
22328dc33a
Fix min-specialization ICE from ignored region resolution failure Fixes rust-lang/rust#151327 `min_specialization::get_impl_args` resolved regions and then immediately called `fully_resolve`, but it ignored failures from `resolve_regions_and_report_errors`. Propagate the region-resolution error instead of ignoring it. That matches the pattern used in: https://github.com/rust-lang/rust/blob/40a3ed1e1407ebbe892ce1a74128482ea1dadf7a/compiler/rustc_hir_analysis/src/check/compare_impl_item.rs#L706 https://github.com/rust-lang/rust/blob/40a3ed1e1407ebbe892ce1a74128482ea1dadf7a/compiler/rustc_hir_analysis/src/coherence/builtin.rs#L421