diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-08-26 16:58:42 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-09-05 17:20:07 +0000 |
| commit | 26c48e6f95c4075951a21d54cf1e61af68cbb5e0 (patch) | |
| tree | e982eadb93ab34c1d0fe5d95da57003a604b4121 /tests/mir-opt/const_debuginfo.main.ConstDebugInfo.diff | |
| parent | 429a9258f10936c3b36b8b265175efbcbdfba1d5 (diff) | |
| download | rust-26c48e6f95c4075951a21d54cf1e61af68cbb5e0.tar.gz rust-26c48e6f95c4075951a21d54cf1e61af68cbb5e0.zip | |
Refactor how MIR represents composite debuginfo.
Diffstat (limited to 'tests/mir-opt/const_debuginfo.main.ConstDebugInfo.diff')
| -rw-r--r-- | tests/mir-opt/const_debuginfo.main.ConstDebugInfo.diff | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/mir-opt/const_debuginfo.main.ConstDebugInfo.diff b/tests/mir-opt/const_debuginfo.main.ConstDebugInfo.diff index 255ec94816c..ed47baa67da 100644 --- a/tests/mir-opt/const_debuginfo.main.ConstDebugInfo.diff +++ b/tests/mir-opt/const_debuginfo.main.ConstDebugInfo.diff @@ -33,14 +33,22 @@ let _15: bool; let _16: u32; scope 6 { - debug f => (bool, bool, u32){ .0 => _14, .1 => _15, .2 => _16, }; +- debug ((f: (bool, bool, u32)).0: bool) => _14; +- debug ((f: (bool, bool, u32)).1: bool) => _15; +- debug ((f: (bool, bool, u32)).2: u32) => _16; ++ debug ((f: (bool, bool, u32)).0: bool) => const true; ++ debug ((f: (bool, bool, u32)).1: bool) => const false; ++ debug ((f: (bool, bool, u32)).2: u32) => const 123_u32; let _10: std::option::Option<u16>; scope 7 { debug o => _10; let _17: u32; let _18: u32; scope 8 { - debug p => Point{ .0 => _17, .1 => _18, }; +- debug ((p: Point).0: u32) => _17; +- debug ((p: Point).1: u32) => _18; ++ debug ((p: Point).0: u32) => const 32_u32; ++ debug ((p: Point).1: u32) => const 32_u32; let _11: u32; scope 9 { - debug a => _11; |
