diff options
| author | Lzu Tao <taolzu@gmail.com> | 2020-08-20 09:25:06 +0000 |
|---|---|---|
| committer | Lzu Tao <taolzu@gmail.com> | 2020-08-20 09:32:35 +0000 |
| commit | 86cf46172ff10673e4470e93a8b2d4974bf35f3c (patch) | |
| tree | 42cbdb6dc32954f5a7fc20f08ee79075d855e718 /src/test/mir-opt/const_prop/mutable_variable_aggregate.main.ConstProp.diff | |
| parent | f6bd213569b9cf8b8c3da336c10cbb6d63683055 (diff) | |
| download | rust-86cf46172ff10673e4470e93a8b2d4974bf35f3c.tar.gz rust-86cf46172ff10673e4470e93a8b2d4974bf35f3c.zip | |
Suppress MIR comments of Unit type
Diffstat (limited to 'src/test/mir-opt/const_prop/mutable_variable_aggregate.main.ConstProp.diff')
| -rw-r--r-- | src/test/mir-opt/const_prop/mutable_variable_aggregate.main.ConstProp.diff | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/mir-opt/const_prop/mutable_variable_aggregate.main.ConstProp.diff b/src/test/mir-opt/const_prop/mutable_variable_aggregate.main.ConstProp.diff index 05c618b3a12..018b7c43c1d 100644 --- a/src/test/mir-opt/const_prop/mutable_variable_aggregate.main.ConstProp.diff +++ b/src/test/mir-opt/const_prop/mutable_variable_aggregate.main.ConstProp.diff @@ -21,12 +21,6 @@ - _2 = _1; // scope 1 at $DIR/mutable_variable_aggregate.rs:7:13: 7:14 + _2 = (const 42_i32, const 99_i32); // scope 1 at $DIR/mutable_variable_aggregate.rs:7:13: 7:14 _0 = const (); // scope 0 at $DIR/mutable_variable_aggregate.rs:4:11: 8:2 - // ty::Const - // + ty: () - // + val: Value(Scalar(<ZST>)) - // mir::Constant - // + span: $DIR/mutable_variable_aggregate.rs:4:11: 8:2 - // + literal: Const { ty: (), val: Value(Scalar(<ZST>)) } StorageDead(_2); // scope 1 at $DIR/mutable_variable_aggregate.rs:8:1: 8:2 StorageDead(_1); // scope 0 at $DIR/mutable_variable_aggregate.rs:8:1: 8:2 return; // scope 0 at $DIR/mutable_variable_aggregate.rs:8:2: 8:2 |
