Skip to content

Commit

Permalink
Auto merge of #115748 - RalfJung:post-mono, r=oli-obk
Browse files Browse the repository at this point in the history
move required_consts check to general post-mono-check function

This factors some code that is common between the interpreter and the codegen backends into shared helper functions. Also as a side-effect the interpreter now uses the same `eval` functions as everyone else to get the evaluated MIR constants.

Also this is in preparation for another post-mono check that will be needed for (the current hackfix for) rust-lang/rust#115709: ensuring that all locals are dynamically sized.

I didn't expect this to change diagnostics, but it's just cycle errors that change.

r? `@oli-obk`
  • Loading branch information
bors committed Sep 18, 2023
2 parents f01e8c6 + e201f72 commit f066dc5
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit f066dc5

Please sign in to comment.