rust/compiler/rustc_const_eval/src/check_consts
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
..
check.rs Move always_storage_live_locals. 2024-11-26 12:05:57 +11:00
mod.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
ops.rs Auto merge of #133321 - compiler-errors:const-checker, r=wesleywiser 2024-12-03 04:39:48 +00:00
post_drop_elaboration.rs Deduplicate checking drop terminator 2024-11-22 16:54:41 +00:00
qualifs.rs remove is_trivially_const_drop 2024-11-23 08:41:06 +01:00
resolver.rs move fn is_item_raw to TypingEnv 2024-11-19 18:06:20 +01:00