diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-09-12 16:44:53 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-10-21 16:20:46 +0000 |
| commit | 31d101093c134e69a31ba58893e56647a5831299 (patch) | |
| tree | b4a2819f41539f741446ecf77ee398ab9c70241a /tests/mir-opt/const_debuginfo.main.ConstDebugInfo.diff | |
| parent | 249624b5043013d18c00f0401ca431c1a6baa8cd (diff) | |
| download | rust-31d101093c134e69a31ba58893e56647a5831299.tar.gz rust-31d101093c134e69a31ba58893e56647a5831299.zip | |
Generate ValTrees in DataflowConstProp.
Diffstat (limited to 'tests/mir-opt/const_debuginfo.main.ConstDebugInfo.diff')
| -rw-r--r-- | tests/mir-opt/const_debuginfo.main.ConstDebugInfo.diff | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/mir-opt/const_debuginfo.main.ConstDebugInfo.diff b/tests/mir-opt/const_debuginfo.main.ConstDebugInfo.diff index ed47baa67da..0934ee34617 100644 --- a/tests/mir-opt/const_debuginfo.main.ConstDebugInfo.diff +++ b/tests/mir-opt/const_debuginfo.main.ConstDebugInfo.diff @@ -41,7 +41,8 @@ + debug ((f: (bool, bool, u32)).2: u32) => const 123_u32; let _10: std::option::Option<u16>; scope 7 { - debug o => _10; +- debug o => _10; ++ debug o => const Option::<u16>::Some(99); let _17: u32; let _18: u32; scope 8 { @@ -81,7 +82,7 @@ _15 = const false; _16 = const 123_u32; StorageLive(_10); - _10 = Option::<u16>::Some(const 99_u16); + _10 = const Option::<u16>::Some(99); _17 = const 32_u32; _18 = const 32_u32; StorageLive(_11); |
