diff options
| author | bors <bors@rust-lang.org> | 2020-08-18 07:39:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-08-18 07:39:48 +0000 |
| commit | 4717cf2fcbde585d81c47417b1fb921572a3c537 (patch) | |
| tree | dbe26bfff89d442dc570272f48034900a19c103a /src/test/mir-opt/const_prop/mutable_variable_aggregate.main.ConstProp.diff | |
| parent | 515c9fa505e18a65d7f61bc3e9eb833b79a68618 (diff) | |
| parent | 28ac141b72053ae21c9337e761ef339803c958df (diff) | |
| download | rust-4717cf2fcbde585d81c47417b1fb921572a3c537.tar.gz rust-4717cf2fcbde585d81c47417b1fb921572a3c537.zip | |
Auto merge of #75566 - alasher:master, r=oli-obk
Suppress verbose MIR comments for trivial types Addresses #74508 This is my first contribution to the Rust project! Please let me know if anything needs revising, I'm happy to make changes.
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 | 30 |
1 files changed, 0 insertions, 30 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 617702a5209..05c618b3a12 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 @@ -15,41 +15,11 @@ bb0: { StorageLive(_1); // scope 0 at $DIR/mutable_variable_aggregate.rs:5:9: 5:14 (_1.0: i32) = const 42_i32; // scope 0 at $DIR/mutable_variable_aggregate.rs:5:17: 5:25 - // ty::Const - // + ty: i32 - // + val: Value(Scalar(0x0000002a)) - // mir::Constant - // + span: $DIR/mutable_variable_aggregate.rs:5:18: 5:20 - // + literal: Const { ty: i32, val: Value(Scalar(0x0000002a)) } (_1.1: i32) = const 43_i32; // scope 0 at $DIR/mutable_variable_aggregate.rs:5:17: 5:25 - // ty::Const - // + ty: i32 - // + val: Value(Scalar(0x0000002b)) - // mir::Constant - // + span: $DIR/mutable_variable_aggregate.rs:5:22: 5:24 - // + literal: Const { ty: i32, val: Value(Scalar(0x0000002b)) } (_1.1: i32) = const 99_i32; // scope 1 at $DIR/mutable_variable_aggregate.rs:6:5: 6:13 - // ty::Const - // + ty: i32 - // + val: Value(Scalar(0x00000063)) - // mir::Constant - // + span: $DIR/mutable_variable_aggregate.rs:6:11: 6:13 - // + literal: Const { ty: i32, val: Value(Scalar(0x00000063)) } StorageLive(_2); // scope 1 at $DIR/mutable_variable_aggregate.rs:7:9: 7:10 - _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 -+ // ty::Const -+ // + ty: i32 -+ // + val: Value(Scalar(0x0000002a)) -+ // mir::Constant -+ // + span: $DIR/mutable_variable_aggregate.rs:7:13: 7:14 -+ // + literal: Const { ty: i32, val: Value(Scalar(0x0000002a)) } -+ // ty::Const -+ // + ty: i32 -+ // + val: Value(Scalar(0x00000063)) -+ // mir::Constant -+ // + span: $DIR/mutable_variable_aggregate.rs:7:13: 7:14 -+ // + literal: Const { ty: i32, val: Value(Scalar(0x00000063)) } _0 = const (); // scope 0 at $DIR/mutable_variable_aggregate.rs:4:11: 8:2 // ty::Const // + ty: () |
