diff options
| author | Ralf Jung <post@ralfj.de> | 2024-03-10 14:05:11 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-03-10 14:59:41 +0100 |
| commit | 7d99e80c55486780b59c3b947b20e72344a3bdb2 (patch) | |
| tree | 99519605d4e37af25e9a5ac2e1cc7b67262d036c /tests/mir-opt/dataflow-const-prop/enum.constant.DataflowConstProp.32bit.diff | |
| parent | 3521a2f2f317cb978063842485c7d1bc86ec82b6 (diff) | |
| download | rust-7d99e80c55486780b59c3b947b20e72344a3bdb2.tar.gz rust-7d99e80c55486780b59c3b947b20e72344a3bdb2.zip | |
MIR printing: print the path of uneval'd const; refer to promoteds in a consistent way
Diffstat (limited to 'tests/mir-opt/dataflow-const-prop/enum.constant.DataflowConstProp.32bit.diff')
| -rw-r--r-- | tests/mir-opt/dataflow-const-prop/enum.constant.DataflowConstProp.32bit.diff | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mir-opt/dataflow-const-prop/enum.constant.DataflowConstProp.32bit.diff b/tests/mir-opt/dataflow-const-prop/enum.constant.DataflowConstProp.32bit.diff index fc814f7e7a9..9da1caf9004 100644 --- a/tests/mir-opt/dataflow-const-prop/enum.constant.DataflowConstProp.32bit.diff +++ b/tests/mir-opt/dataflow-const-prop/enum.constant.DataflowConstProp.32bit.diff @@ -23,7 +23,7 @@ bb0: { StorageLive(_1); - _1 = const _; + _1 = const constant::C; StorageLive(_2); - _3 = discriminant(_1); - switchInt(move _3) -> [0: bb3, 1: bb2, otherwise: bb1]; |
