|
22 | 22 | let mut _20: *const T; // in scope 0 at $DIR/issue_76432.rs:9:70: 9:84
|
23 | 23 | let mut _21: *const T; // in scope 0 at $DIR/issue_76432.rs:9:70: 9:84
|
24 | 24 | let mut _22: !; // in scope 0 at $SRC_DIR/core/src/panic.rs:LL:COL
|
25 |
| - let mut _23: &[T; 3]; // in scope 0 at $DIR/issue_76432.rs:7:19: 7:29 |
| 25 | + let mut _23: std::fmt::Arguments; // in scope 0 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 26 | + let mut _24: &[&str]; // in scope 0 at $SRC_DIR/core/src/macros/mod.rs:LL:COL |
| 27 | + let mut _25: &[&str; 1]; // in scope 0 at $SRC_DIR/core/src/macros/mod.rs:LL:COL |
| 28 | + let _26: &[&str; 1]; // in scope 0 at $SRC_DIR/core/src/macros/mod.rs:LL:COL |
| 29 | + let _27: [&str; 1]; // in scope 0 at $SRC_DIR/core/src/macros/mod.rs:LL:COL |
| 30 | + let mut _28: &[std::fmt::ArgumentV1]; // in scope 0 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 31 | + let mut _29: &[std::fmt::ArgumentV1; 0]; // in scope 0 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 32 | + let _30: &[std::fmt::ArgumentV1; 0]; // in scope 0 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 33 | + let _31: [std::fmt::ArgumentV1; 0]; // in scope 0 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 34 | + let mut _32: (); // in scope 0 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 35 | + let mut _36: &[T; 3]; // in scope 0 at $DIR/issue_76432.rs:7:19: 7:29 |
26 | 36 | scope 1 {
|
27 | 37 | debug v => _2; // in scope 1 at $DIR/issue_76432.rs:7:9: 7:10
|
28 | 38 | let _13: &T; // in scope 1 at $DIR/issue_76432.rs:9:10: 9:16
|
29 | 39 | let _14: &T; // in scope 1 at $DIR/issue_76432.rs:9:18: 9:24
|
30 | 40 | let _15: &T; // in scope 1 at $DIR/issue_76432.rs:9:26: 9:32
|
| 41 | + let _33: (); // in scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 42 | + let mut _34: &[std::fmt::ArgumentV1; 0]; // in scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 43 | + let mut _35: &[&str; 1]; // in scope 1 at $SRC_DIR/core/src/macros/mod.rs:LL:COL |
31 | 44 | scope 2 {
|
32 | 45 | debug v1 => _13; // in scope 2 at $DIR/issue_76432.rs:9:10: 9:16
|
33 | 46 | debug v2 => _14; // in scope 2 at $DIR/issue_76432.rs:9:18: 9:24
|
34 | 47 | debug v3 => _15; // in scope 2 at $DIR/issue_76432.rs:9:26: 9:32
|
35 | 48 | }
|
| 49 | + scope 3 { |
| 50 | + debug _args => _33; // in scope 3 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 51 | + } |
36 | 52 | }
|
37 | 53 |
|
38 | 54 | bb0: {
|
|
52 | 68 | StorageDead(_6); // scope 0 at $DIR/issue_76432.rs:7:28: 7:29
|
53 | 69 | _4 = &_5; // scope 0 at $DIR/issue_76432.rs:7:19: 7:29
|
54 | 70 | _3 = _4; // scope 0 at $DIR/issue_76432.rs:7:19: 7:29
|
55 |
| - StorageLive(_23); // scope 0 at $DIR/issue_76432.rs:7:19: 7:29 |
56 |
| - _23 = _3; // scope 0 at $DIR/issue_76432.rs:7:19: 7:29 |
| 71 | + StorageLive(_36); // scope 0 at $DIR/issue_76432.rs:7:19: 7:29 |
| 72 | + _36 = _3; // scope 0 at $DIR/issue_76432.rs:7:19: 7:29 |
57 | 73 | _2 = move _3 as &[T] (Pointer(Unsize)); // scope 0 at $DIR/issue_76432.rs:7:19: 7:29
|
58 | 74 | StorageDead(_3); // scope 0 at $DIR/issue_76432.rs:7:28: 7:29
|
59 | 75 | StorageDead(_4); // scope 0 at $DIR/issue_76432.rs:7:29: 7:30
|
60 | 76 | StorageLive(_9); // scope 1 at $DIR/issue_76432.rs:8:5: 11:6
|
61 | 77 | _10 = const 3_usize; // scope 1 at $DIR/issue_76432.rs:9:9: 9:33
|
62 |
| - StorageDead(_23); // scope 1 at $DIR/issue_76432.rs:9:9: 9:33 |
| 78 | + StorageDead(_36); // scope 1 at $DIR/issue_76432.rs:9:9: 9:33 |
63 | 79 | _11 = const 3_usize; // scope 1 at $DIR/issue_76432.rs:9:9: 9:33
|
64 | 80 | _12 = const true; // scope 1 at $DIR/issue_76432.rs:9:9: 9:33
|
65 | 81 | goto -> bb2; // scope 1 at $DIR/issue_76432.rs:9:9: 9:33
|
66 | 82 | }
|
67 | 83 |
|
68 | 84 | bb1: {
|
69 | 85 | StorageLive(_22); // scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL
|
70 |
| - core::panicking::panic(const "internal error: entered unreachable code"); // scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL |
71 |
| - // mir::Constant |
72 |
| - // + span: $SRC_DIR/core/src/panic.rs:LL:COL |
73 |
| - // + literal: Const { ty: fn(&'static str) -> ! {core::panicking::panic}, val: Value(Scalar(<ZST>)) } |
| 86 | + StorageLive(_23); // scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 87 | + StorageLive(_24); // scope 1 at $SRC_DIR/core/src/macros/mod.rs:LL:COL |
| 88 | + StorageLive(_25); // scope 1 at $SRC_DIR/core/src/macros/mod.rs:LL:COL |
| 89 | + StorageLive(_26); // scope 1 at $SRC_DIR/core/src/macros/mod.rs:LL:COL |
| 90 | + _35 = const test::<T>::promoted[1]; // scope 1 at $SRC_DIR/core/src/macros/mod.rs:LL:COL |
74 | 91 | // ty::Const
|
75 |
| - // + ty: &str |
76 |
| - // + val: Value(Slice { data: Allocation { bytes: [105, 110, 116, 101, 114, 110, 97, 108, 32, 101, 114, 114, 111, 114, 58, 32, 101, 110, 116, 101, 114, 101, 100, 32, 117, 110, 114, 101, 97, 99, 104, 97, 98, 108, 101, 32, 99, 111, 100, 101], relocations: Relocations(SortedMap { data: [] }), init_mask: InitMask { blocks: [1099511627775], len: Size { raw: 40 } }, align: Align { pow2: 0 }, mutability: Not, extra: () }, start: 0, end: 40 }) |
| 92 | + // + ty: &[&str; 1] |
| 93 | + // + val: Unevaluated(test, [T], Some(promoted[1])) |
77 | 94 | // mir::Constant
|
78 | 95 | // + span: $SRC_DIR/core/src/macros/mod.rs:LL:COL
|
79 |
| - // + literal: Const { ty: &str, val: Value(Slice { data: Allocation { bytes: [105, 110, 116, 101, 114, 110, 97, 108, 32, 101, 114, 114, 111, 114, 58, 32, 101, 110, 116, 101, 114, 101, 100, 32, 117, 110, 114, 101, 97, 99, 104, 97, 98, 108, 101, 32, 99, 111, 100, 101], relocations: Relocations(SortedMap { data: [] }), init_mask: InitMask { blocks: [1099511627775], len: Size { raw: 40 } }, align: Align { pow2: 0 }, mutability: Not, extra: () }, start: 0, end: 40 }) } |
| 96 | + // + literal: Const { ty: &[&str; 1], val: Unevaluated(Unevaluated { def: WithOptConstParam { did: DefId(0:6 ~ issue_76432[HASH]::test), const_param_did: None }, substs_: Some([T]), promoted: Some(promoted[1]) }) } |
| 97 | + _26 = _35; // scope 1 at $SRC_DIR/core/src/macros/mod.rs:LL:COL |
| 98 | + _25 = _26; // scope 1 at $SRC_DIR/core/src/macros/mod.rs:LL:COL |
| 99 | + _24 = move _25 as &[&str] (Pointer(Unsize)); // scope 1 at $SRC_DIR/core/src/macros/mod.rs:LL:COL |
| 100 | + StorageDead(_25); // scope 1 at $SRC_DIR/core/src/macros/mod.rs:LL:COL |
| 101 | + StorageLive(_28); // scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 102 | + StorageLive(_29); // scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 103 | + StorageLive(_30); // scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 104 | + StorageLive(_32); // scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 105 | + StorageLive(_33); // scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 106 | + nop; // scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 107 | + StorageDead(_33); // scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 108 | + _34 = const test::<T>::promoted[0]; // scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 109 | + // ty::Const |
| 110 | + // + ty: &[std::fmt::ArgumentV1; 0] |
| 111 | + // + val: Unevaluated(test, [T], Some(promoted[0])) |
| 112 | + // mir::Constant |
| 113 | + // + span: $SRC_DIR/core/src/panic.rs:LL:COL |
| 114 | + // + literal: Const { ty: &[std::fmt::ArgumentV1; 0], val: Unevaluated(Unevaluated { def: WithOptConstParam { did: DefId(0:6 ~ issue_76432[HASH]::test), const_param_did: None }, substs_: Some([T]), promoted: Some(promoted[0]) }) } |
| 115 | + _30 = _34; // scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 116 | + _29 = _30; // scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 117 | + _28 = move _29 as &[std::fmt::ArgumentV1] (Pointer(Unsize)); // scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 118 | + StorageDead(_29); // scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 119 | + _23 = Arguments::new_v1(move _24, move _28) -> bb3; // scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 120 | + // mir::Constant |
| 121 | + // + span: $SRC_DIR/core/src/panic.rs:LL:COL |
| 122 | + // + user_ty: UserType(5) |
| 123 | + // + literal: Const { ty: fn(&[&'static str], &[std::fmt::ArgumentV1]) -> std::fmt::Arguments {std::fmt::Arguments::new_v1}, val: Value(Scalar(<ZST>)) } |
80 | 124 | }
|
81 | 125 |
|
82 | 126 | bb2: {
|
|
114 | 158 | StorageDead(_2); // scope 0 at $DIR/issue_76432.rs:12:1: 12:2
|
115 | 159 | return; // scope 0 at $DIR/issue_76432.rs:12:2: 12:2
|
116 | 160 | }
|
| 161 | + |
| 162 | + bb3: { |
| 163 | + StorageDead(_28); // scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 164 | + StorageDead(_24); // scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 165 | + panic_fmt(move _23); // scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL |
| 166 | + // mir::Constant |
| 167 | + // + span: $SRC_DIR/core/src/panic.rs:LL:COL |
| 168 | + // + literal: Const { ty: for<'r> fn(std::fmt::Arguments<'r>) -> ! {std::rt::panic_fmt}, val: Value(Scalar(<ZST>)) } |
| 169 | + } |
117 | 170 | }
|
118 | 171 |
|
0 commit comments