rust/compiler/rustc_passes/src
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
..
liveness Reformat use declarations. 2024-07-29 08:26:52 +10:00
abi_test.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
check_attr.rs Rollup merge of #127483 - BertalanD:no_sanitize-global-var, r=rcvalle 2024-11-23 20:19:51 +08:00
dead.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
debugger_visualizer.rs Add warn(unreachable_pub) to rustc_passes. 2024-08-29 20:18:40 +10:00
diagnostic_items.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
entry.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
errors.rs Auto merge of #133321 - compiler-errors:const-checker, r=wesleywiser 2024-12-03 04:39:48 +00:00
hir_id_validator.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
input_stats.rs Refactor where predicates, and reserve for attributes support 2024-11-25 16:38:35 +08:00
lang_items.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
layout_test.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
lib.rs Get rid of HIR const checker 2024-11-22 02:32:26 +00:00
lib_features.rs nightly feature tracking: get rid of the per-feature bool fields 2024-10-23 09:14:41 +01:00
liveness.rs liveness checking, yeet TypingEnv::from_param_env 2024-11-19 18:06:20 +01:00
loops.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
naked_functions.rs various fixes for naked_asm! implementation 2024-10-06 19:00:09 +02:00
reachable.rs Rollup merge of #131049 - compiler-errors:more-validation, r=spastorino 2024-10-22 15:28:38 +02:00
stability.rs don't require const stability for const impls 2024-11-20 17:04:05 +08:00
upvars.rs Add warn(unreachable_pub) to rustc_passes. 2024-08-29 20:18:40 +10:00
weak_lang_items.rs Add warn(unreachable_pub) to rustc_passes. 2024-08-29 20:18:40 +10:00