rust/compiler/rustc_const_eval/src/transform
bors edcbcc768a Auto merge of #119072 - fee1-dead-contrib:effects-fixes, r=compiler-errors
Clean up `check_consts` and misc fixes

1. Remove most of the logic around erroring with trait methods. I have kept the part resolving it to a concrete impl, as that is used for const stability checks.
2. Turning on `effects` causes ICE with generic args, due to `~const Tr` when `Tr` is not `#[const_trait]` tripping up expectation in code that handles generic args, more specifically here:
8681e077b8/compiler/rustc_hir_analysis/src/astconv/generics.rs (L377)

We set `arg_count.correct` to `Err` to correctly signal that an error has already been reported.

3. UI test blesses.

Edit(fmease): Fixes #117244 (UI test is in #119099 for now).

r? compiler-errors
2023-12-23 12:26:22 +00:00
..
check_consts Auto merge of #119072 - fee1-dead-contrib:effects-fixes, r=compiler-errors 2023-12-23 12:26:22 +00:00
mod.rs Don't re-export MirPass 2021-11-29 12:58:15 -08:00
promote_consts.rs few more 2023-11-23 14:11:08 +03:00
validate.rs Add pass to identify undefined or erroneous behaviour 2023-12-21 12:58:39 +01:00