Skip to content

Commit

Permalink
Auto merge of #109521 - tmiasko:const-prop-validation, r=wesleywiser
Browse files Browse the repository at this point in the history
Don't validate constants in const propagation

Validation is neither necessary nor desirable.

The constant validation is already omitted at mir-opt-level >= 3, so there there are not changes in MIR test output (the propagation of invalid constants is covered by an existing test in tests/mir-opt/const_prop/invalid_constant.rs).
  • Loading branch information
bors committed May 2, 2023
2 parents fb7abc6 + f36a3fa commit f8571e4
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit f8571e4

Please sign in to comment.