mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
5133e15459
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). |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |