rust/tests/ui/consts/control-flow
bors efdd9e8020 Auto merge of #133321 - compiler-errors:const-checker, r=wesleywiser
Get rid of HIR const checker

As far as I can tell, the HIR const checker was implemented in https://github.com/rust-lang/rust/pull/66170 because we were not able to issue useful const error messages in the MIR const checker.

This seems to have changed in the last 5 years, probably due to work like #90532. I've tweaked the diagnostics slightly and think the error messages have gotten *better* in fact.

Thus I think the HIR const checker has reached the end of its usefulness, and we can retire it.

cc `@RalfJung`
2024-12-03 04:39:48 +00:00
..
assert.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assert.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
basics.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
dead_branches_dont_eval.rs add test for #122301 to cover behavior that's on stable 2024-03-17 14:58:22 +01:00
drop-fail.precise.stderr Gate const drop behind const_destruct feature, and fix const_precise_live_drops post-drop-elaboration check 2024-11-22 16:54:40 +00:00
drop-fail.rs Gate const drop behind const_destruct feature, and fix const_precise_live_drops post-drop-elaboration check 2024-11-22 16:54:40 +00:00
drop-fail.stock.stderr Gate const drop behind const_destruct feature, and fix const_precise_live_drops post-drop-elaboration check 2024-11-22 16:54:40 +00:00
drop-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
drop-precise.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
exhaustive-c-like-enum-match.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
feature-gate-const-if-match.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
interior-mutability.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
interior-mutability.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-46843.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-46843.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-50577.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-50577.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
loop.rs Get rid of HIR const checker 2024-11-22 02:32:26 +00:00
loop.stderr Get rid of HIR const checker 2024-11-22 02:32:26 +00:00
short-circuit-let.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
short-circuit.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
single_variant_match_ice.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
try.rs Get rid of HIR const checker 2024-11-22 02:32:26 +00:00
try.stderr Get rid of HIR const checker 2024-11-22 02:32:26 +00:00