diff options
| author | Gary Guo <gary@garyguo.net> | 2023-06-23 17:53:09 +0100 |
|---|---|---|
| committer | Gary Guo <gary@garyguo.net> | 2023-06-23 18:36:25 +0100 |
| commit | 19ce326a08634a4014fb82d8475e4501f1ef5d28 (patch) | |
| tree | eb20ce1700f1e43f31ccc29dbba05ac609b07b7e /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff | |
| parent | c462291e0c864b7d0e218bde12c9560f99cede3b (diff) | |
| download | rust-19ce326a08634a4014fb82d8475e4501f1ef5d28.tar.gz rust-19ce326a08634a4014fb82d8475e4501f1ef5d28.zip | |
Bless tests
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff')
| -rw-r--r-- | tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff b/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff index 3c6f3734624..6c450067cc4 100644 --- a/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff +++ b/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff @@ -45,7 +45,7 @@ _8 = _1; _9 = Len((*_2)); _10 = Lt(_8, _9); - assert(move _10, "index out of bounds: the length is {} but the index is {}", move _9, _8) -> bb3; + assert(move _10, "index out of bounds: the length is {} but the index is {}", move _9, _8) -> [success: bb3, unwind continue]; } bb3: { @@ -59,7 +59,7 @@ _11 = const 0_usize; _12 = Len((*_2)); _13 = Lt(_11, _12); - assert(move _13, "index out of bounds: the length is {} but the index is {}", move _12, _11) -> bb5; + assert(move _13, "index out of bounds: the length is {} but the index is {}", move _12, _11) -> [success: bb5, unwind continue]; } bb5: { |
