diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-10-14 12:12:54 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-10-25 06:46:48 +0000 |
| commit | 5e78b9cdb39f2cd47a0518ba568e7bfd0d1f8d95 (patch) | |
| tree | ebae7f382d4f24f5ea1ea2b0afd903c49feed1fa /tests/mir-opt/gvn.slices.GVN.panic-abort.diff | |
| parent | f08dc9be17aff80e248d37a768faa6cc8738d371 (diff) | |
| download | rust-5e78b9cdb39f2cd47a0518ba568e7bfd0d1f8d95.tar.gz rust-5e78b9cdb39f2cd47a0518ba568e7bfd0d1f8d95.zip | |
Disambiguate non-deterministic constants.
Diffstat (limited to 'tests/mir-opt/gvn.slices.GVN.panic-abort.diff')
| -rw-r--r-- | tests/mir-opt/gvn.slices.GVN.panic-abort.diff | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/mir-opt/gvn.slices.GVN.panic-abort.diff b/tests/mir-opt/gvn.slices.GVN.panic-abort.diff index 9db6e068fa7..ec449980312 100644 --- a/tests/mir-opt/gvn.slices.GVN.panic-abort.diff +++ b/tests/mir-opt/gvn.slices.GVN.panic-abort.diff @@ -207,8 +207,8 @@ _26 = &(*_27); StorageLive(_28); _28 = Option::<Arguments<'_>>::None; -- _22 = core::panicking::assert_failed::<*const u8, *const u8>(move _23, move _24, move _26, move _28) -> unwind unreachable; -+ _22 = core::panicking::assert_failed::<*const u8, *const u8>(const core::panicking::AssertKind::Eq, move _24, move _26, move _28) -> unwind unreachable; +- _22 = assert_failed::<*const u8, *const u8>(move _23, move _24, move _26, move _28) -> unwind unreachable; ++ _22 = assert_failed::<*const u8, *const u8>(const core::panicking::AssertKind::Eq, move _24, move _26, move _28) -> unwind unreachable; } bb7: { @@ -306,8 +306,8 @@ _52 = &(*_53); StorageLive(_54); _54 = Option::<Arguments<'_>>::None; -- _48 = core::panicking::assert_failed::<*const u8, *const u8>(move _49, move _50, move _52, move _54) -> unwind unreachable; -+ _48 = core::panicking::assert_failed::<*const u8, *const u8>(const core::panicking::AssertKind::Eq, move _50, move _52, move _54) -> unwind unreachable; +- _48 = assert_failed::<*const u8, *const u8>(move _49, move _50, move _52, move _54) -> unwind unreachable; ++ _48 = assert_failed::<*const u8, *const u8>(const core::panicking::AssertKind::Eq, move _50, move _52, move _54) -> unwind unreachable; } } |
