Files
rust/compiler/rustc_query_impl/src
Jacob Pratt c997ea45be Rollup merge of #158163 - xmakro:fix-variances-cycle-recovery-count, r=petrochenkov
Fix too-short variance slice in `variances_of` cycle recovery

This changes the cycle-error fallback in `variances_of` to size the slice the same way the provider does in [`variance/solve.rs:117`](32ea3615cc/compiler/rustc_hir_analysis/src/variance/solve.rs (L117)).

This can otherwise ICE under the parallel frontend in `relate_args_with_variances` for items that inherit their generics from a parent (like a tuple struct constructor). See https://github.com/rust-lang/rust/issues/154560#issuecomment-4749155547
2026-06-27 22:13:50 -04:00
..
2026-06-13 01:28:47 +02:00
2026-06-13 01:28:47 +02:00
2026-05-26 12:01:03 +03:00
…

For more information about how the query system works, see the rustc dev guide.