rust/compiler/rustc_const_eval/src
León Orell Valerian Liehr 4d544d9443
Rollup merge of #134010 - RalfJung:promoted-type-error-ice, r=oli-obk
fix ICE on type error in promoted

Fixes https://github.com/rust-lang/rust/issues/133968

Ensure that when we turn a type error into a "this promoted failed to evaluate" error, we do record this as something that may happen even in "infallible" promoteds.
2024-12-10 08:55:59 +01:00
..
check_consts Mention type parameter in more cases and don't suggest ~const bound already there 2024-12-07 21:37:13 +00:00
const_eval fix ICE on type error in promoted 2024-12-09 15:17:26 +01:00
interpret Rollup merge of #134010 - RalfJung:promoted-type-error-ice, r=oli-obk 2024-12-10 08:55:59 +01:00
util interpret: clean up deduplicating allocation functions 2024-12-09 15:12:33 +01:00
errors.rs Deduplicate checking drop terminator 2024-11-22 16:54:41 +00:00
lib.rs report UB when the niche value refers to the untagged variant 2024-11-30 18:26:30 +01:00