diff options
| author | varkor <github@varkor.com> | 2020-09-16 00:21:21 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2020-09-26 13:34:53 +0100 |
| commit | 387e3ddded4e1e455b6ca6b59ea57938a9752ff2 (patch) | |
| tree | ef1a361d1ec87ad71d69a7b609e81264457304b1 /src/test/mir-opt/combine_array_len.norm2.InstCombine.32bit.diff | |
| parent | 94c789b275c2ec19c47dc3aea0fceed6a8af55b1 (diff) | |
| download | rust-387e3ddded4e1e455b6ca6b59ea57938a9752ff2.tar.gz rust-387e3ddded4e1e455b6ca6b59ea57938a9752ff2.zip | |
Bless mir-opt tests
Diffstat (limited to 'src/test/mir-opt/combine_array_len.norm2.InstCombine.32bit.diff')
| -rw-r--r-- | src/test/mir-opt/combine_array_len.norm2.InstCombine.32bit.diff | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/mir-opt/combine_array_len.norm2.InstCombine.32bit.diff b/src/test/mir-opt/combine_array_len.norm2.InstCombine.32bit.diff index 61e987cc685..979e5bc4d21 100644 --- a/src/test/mir-opt/combine_array_len.norm2.InstCombine.32bit.diff +++ b/src/test/mir-opt/combine_array_len.norm2.InstCombine.32bit.diff @@ -32,7 +32,7 @@ - _4 = Len(_1); // scope 0 at $DIR/combine_array_len.rs:5:13: 5:17 + _4 = const 2_usize; // scope 0 at $DIR/combine_array_len.rs:5:13: 5:17 _5 = Lt(_3, _4); // scope 0 at $DIR/combine_array_len.rs:5:13: 5:17 - assert(move _5, "index out of bounds: the len is {} but the index is {}", move _4, _3) -> bb1; // scope 0 at $DIR/combine_array_len.rs:5:13: 5:17 + assert(move _5, "index out of bounds: the length is {} but the index is {}", move _4, _3) -> bb1; // scope 0 at $DIR/combine_array_len.rs:5:13: 5:17 } bb1: { @@ -44,7 +44,7 @@ - _8 = Len(_1); // scope 1 at $DIR/combine_array_len.rs:6:13: 6:17 + _8 = const 2_usize; // scope 1 at $DIR/combine_array_len.rs:6:13: 6:17 _9 = Lt(_7, _8); // scope 1 at $DIR/combine_array_len.rs:6:13: 6:17 - assert(move _9, "index out of bounds: the len is {} but the index is {}", move _8, _7) -> bb2; // scope 1 at $DIR/combine_array_len.rs:6:13: 6:17 + assert(move _9, "index out of bounds: the length is {} but the index is {}", move _8, _7) -> bb2; // scope 1 at $DIR/combine_array_len.rs:6:13: 6:17 } bb2: { |
