about summary refs log tree commit diff
path: root/tests/mir-opt/building/enum_cast.bar.built.after.mir
AgeCommit message (Collapse)AuthorLines
2025-07-24MIR-build: No longer emit assumes in enum-as castingScott McMurray-5/+0
This just uses the `valid_range` from the backend, so it's duplicating the range metadata that now we include on parameters and loads.
2024-08-18Bless *all* the mir-opt testsScott McMurray-2/+2
2023-06-15Remove comments from mir-opt MIR dumpsBen Kimock-15/+15
2023-05-18Also assume wrap-around discriminants in `as` MIR buildingScott McMurray-5/+4
Resolves this FIXME: https://github.com/rust-lang/rust/blob/8d18c32b61476ed16dd15074e71be3970368d6d7/compiler/rustc_mir_build/src/build/expr/as_rvalue.rs#L231
2023-01-11Move /src/test to /testsAlbert Larsan-0/+23