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/const_prop/slice_len.main.ConstProp.32bit.diff | |
| parent | 94c789b275c2ec19c47dc3aea0fceed6a8af55b1 (diff) | |
| download | rust-387e3ddded4e1e455b6ca6b59ea57938a9752ff2.tar.gz rust-387e3ddded4e1e455b6ca6b59ea57938a9752ff2.zip | |
Bless mir-opt tests
Diffstat (limited to 'src/test/mir-opt/const_prop/slice_len.main.ConstProp.32bit.diff')
| -rw-r--r-- | src/test/mir-opt/const_prop/slice_len.main.ConstProp.32bit.diff | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/mir-opt/const_prop/slice_len.main.ConstProp.32bit.diff b/src/test/mir-opt/const_prop/slice_len.main.ConstProp.32bit.diff index f15dcf23388..240cc8e2311 100644 --- a/src/test/mir-opt/const_prop/slice_len.main.ConstProp.32bit.diff +++ b/src/test/mir-opt/const_prop/slice_len.main.ConstProp.32bit.diff @@ -33,10 +33,10 @@ _6 = const 1_usize; // scope 0 at $DIR/slice_len.rs:5:31: 5:32 - _7 = Len((*_2)); // scope 0 at $DIR/slice_len.rs:5:5: 5:33 - _8 = Lt(_6, _7); // scope 0 at $DIR/slice_len.rs:5:5: 5:33 -- assert(move _8, "index out of bounds: the len is {} but the index is {}", move _7, _6) -> bb1; // scope 0 at $DIR/slice_len.rs:5:5: 5:33 +- assert(move _8, "index out of bounds: the length is {} but the index is {}", move _7, _6) -> bb1; // scope 0 at $DIR/slice_len.rs:5:5: 5:33 + _7 = const 3_usize; // scope 0 at $DIR/slice_len.rs:5:5: 5:33 + _8 = const true; // scope 0 at $DIR/slice_len.rs:5:5: 5:33 -+ assert(const true, "index out of bounds: the len is {} but the index is {}", const 3_usize, const 1_usize) -> bb1; // scope 0 at $DIR/slice_len.rs:5:5: 5:33 ++ assert(const true, "index out of bounds: the length is {} but the index is {}", const 3_usize, const 1_usize) -> bb1; // scope 0 at $DIR/slice_len.rs:5:5: 5:33 } bb1: { |
