Guillaume Gomez b1a643e599
Rollup merge of #133704 - RalfJung:promoted-size-overflow-ice, r=compiler-errors
fix ICE when promoted has layout size overflow

Turns out there is no reason to distinguish `tainted_by_errors` and `can_be_spurious` here, we can just track whether we allow this even in "infallible" constants.

Fixes https://github.com/rust-lang/rust/issues/125476
2024-12-02 23:08:55 +01:00
..
2024-10-14 16:35:28 +11:00
2024-11-23 13:52:54 +01:00
2024-07-29 08:26:52 +10:00
2024-11-23 13:52:56 +01:00