Skip to content

Commit

Permalink
Auto merge of #133321 - compiler-errors:const-checker, r=wesleywiser
Browse files Browse the repository at this point in the history
Get rid of HIR const checker

As far as I can tell, the HIR const checker was implemented in rust-lang/rust#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`
  • Loading branch information
bors committed Dec 3, 2024
2 parents 48fef73 + c9fe894 commit 464383f
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 464383f

Please sign in to comment.