|
8 | 8 | let mut _6: u8; // in scope 0 at $DIR/const_debuginfo.rs:+4:15: +4:16
|
9 | 9 | let mut _7: u8; // in scope 0 at $DIR/const_debuginfo.rs:+4:19: +4:20
|
10 | 10 | let mut _8: u8; // in scope 0 at $DIR/const_debuginfo.rs:+4:23: +4:24
|
11 |
| - let mut _12: u32; // in scope 0 at $DIR/const_debuginfo.rs:+13:13: +13:16 |
12 |
| - let mut _13: u32; // in scope 0 at $DIR/const_debuginfo.rs:+13:19: +13:22 |
| 11 | + let mut _14: u32; // in scope 0 at $DIR/const_debuginfo.rs:+13:13: +13:16 |
| 12 | + let mut _15: u32; // in scope 0 at $DIR/const_debuginfo.rs:+13:19: +13:22 |
13 | 13 | scope 1 {
|
14 | 14 | - debug x => _1; // in scope 1 at $DIR/const_debuginfo.rs:+1:9: +1:10
|
15 | 15 | + debug x => const 1_u8; // in scope 1 at $DIR/const_debuginfo.rs:+1:9: +1:10
|
|
29 | 29 | scope 5 {
|
30 | 30 | - debug s => _9; // in scope 5 at $DIR/const_debuginfo.rs:+6:9: +6:10
|
31 | 31 | + debug s => const "hello, world!"; // in scope 5 at $DIR/const_debuginfo.rs:+6:9: +6:10
|
32 |
| - let _14: bool; // in scope 5 at $DIR/const_debuginfo.rs:+8:9: +8:10 |
33 |
| - let _15: bool; // in scope 5 at $DIR/const_debuginfo.rs:+8:9: +8:10 |
34 |
| - let _16: u32; // in scope 5 at $DIR/const_debuginfo.rs:+8:9: +8:10 |
| 32 | + let _10: (bool, bool, u32); // in scope 5 at $DIR/const_debuginfo.rs:+8:9: +8:10 |
35 | 33 | scope 6 {
|
36 |
| - debug f => (bool, bool, u32){ .0 => _14, .1 => _15, .2 => _16, }; // in scope 6 at $DIR/const_debuginfo.rs:+8:9: +8:10 |
37 |
| - let _10: std::option::Option<u16>; // in scope 6 at $DIR/const_debuginfo.rs:+10:9: +10:10 |
| 34 | + debug f => _10; // in scope 6 at $DIR/const_debuginfo.rs:+8:9: +8:10 |
| 35 | + let _11: std::option::Option<u16>; // in scope 6 at $DIR/const_debuginfo.rs:+10:9: +10:10 |
38 | 36 | scope 7 {
|
39 |
| - debug o => _10; // in scope 7 at $DIR/const_debuginfo.rs:+10:9: +10:10 |
40 |
| - let _17: u32; // in scope 7 at $DIR/const_debuginfo.rs:+12:9: +12:10 |
41 |
| - let _18: u32; // in scope 7 at $DIR/const_debuginfo.rs:+12:9: +12:10 |
| 37 | + debug o => _11; // in scope 7 at $DIR/const_debuginfo.rs:+10:9: +10:10 |
| 38 | + let _12: Point; // in scope 7 at $DIR/const_debuginfo.rs:+12:9: +12:10 |
42 | 39 | scope 8 {
|
43 |
| - debug p => Point{ .0 => _17, .1 => _18, }; // in scope 8 at $DIR/const_debuginfo.rs:+12:9: +12:10 |
44 |
| - let _11: u32; // in scope 8 at $DIR/const_debuginfo.rs:+13:9: +13:10 |
| 40 | + debug p => _12; // in scope 8 at $DIR/const_debuginfo.rs:+12:9: +12:10 |
| 41 | + let _13: u32; // in scope 8 at $DIR/const_debuginfo.rs:+13:9: +13:10 |
45 | 42 | scope 9 {
|
46 |
| -- debug a => _11; // in scope 9 at $DIR/const_debuginfo.rs:+13:9: +13:10 |
| 43 | +- debug a => _13; // in scope 9 at $DIR/const_debuginfo.rs:+13:9: +13:10 |
47 | 44 | + debug a => const 64_u32; // in scope 9 at $DIR/const_debuginfo.rs:+13:9: +13:10
|
48 | 45 | }
|
49 | 46 | }
|
|
69 | 66 | // mir::Constant
|
70 | 67 | // + span: $DIR/const_debuginfo.rs:14:13: 14:28
|
71 | 68 | // + literal: Const { ty: &str, val: Value(Slice(..)) }
|
72 |
| - StorageLive(_14); // scope 5 at $DIR/const_debuginfo.rs:+8:9: +8:10 |
73 |
| - StorageLive(_15); // scope 5 at $DIR/const_debuginfo.rs:+8:9: +8:10 |
74 |
| - StorageLive(_16); // scope 5 at $DIR/const_debuginfo.rs:+8:9: +8:10 |
75 |
| - Deinit(_14); // scope 5 at $DIR/const_debuginfo.rs:+8:13: +8:34 |
76 |
| - Deinit(_15); // scope 5 at $DIR/const_debuginfo.rs:+8:13: +8:34 |
77 |
| - Deinit(_16); // scope 5 at $DIR/const_debuginfo.rs:+8:13: +8:34 |
78 |
| - _14 = const true; // scope 5 at $DIR/const_debuginfo.rs:+8:13: +8:34 |
79 |
| - _15 = const false; // scope 5 at $DIR/const_debuginfo.rs:+8:13: +8:34 |
80 |
| - _16 = const 123_u32; // scope 5 at $DIR/const_debuginfo.rs:+8:13: +8:34 |
81 |
| - StorageLive(_10); // scope 6 at $DIR/const_debuginfo.rs:+10:9: +10:10 |
82 |
| - _10 = Option::<u16>::Some(const 99_u16); // scope 6 at $DIR/const_debuginfo.rs:+10:13: +10:24 |
83 |
| - StorageLive(_17); // scope 7 at $DIR/const_debuginfo.rs:+12:9: +12:10 |
84 |
| - StorageLive(_18); // scope 7 at $DIR/const_debuginfo.rs:+12:9: +12:10 |
85 |
| - Deinit(_17); // scope 7 at $DIR/const_debuginfo.rs:+12:13: +12:35 |
86 |
| - Deinit(_18); // scope 7 at $DIR/const_debuginfo.rs:+12:13: +12:35 |
87 |
| - _17 = const 32_u32; // scope 7 at $DIR/const_debuginfo.rs:+12:13: +12:35 |
88 |
| - _18 = const 32_u32; // scope 7 at $DIR/const_debuginfo.rs:+12:13: +12:35 |
89 |
| - StorageLive(_11); // scope 8 at $DIR/const_debuginfo.rs:+13:9: +13:10 |
90 |
| - StorageLive(_12); // scope 8 at $DIR/const_debuginfo.rs:+13:13: +13:16 |
91 |
| - _12 = const 32_u32; // scope 8 at $DIR/const_debuginfo.rs:+13:13: +13:16 |
92 |
| - StorageLive(_13); // scope 8 at $DIR/const_debuginfo.rs:+13:19: +13:22 |
93 |
| - _13 = const 32_u32; // scope 8 at $DIR/const_debuginfo.rs:+13:19: +13:22 |
94 |
| - _11 = const 64_u32; // scope 8 at $DIR/const_debuginfo.rs:+13:13: +13:22 |
95 |
| - StorageDead(_13); // scope 8 at $DIR/const_debuginfo.rs:+13:21: +13:22 |
96 |
| - StorageDead(_12); // scope 8 at $DIR/const_debuginfo.rs:+13:21: +13:22 |
97 |
| - StorageDead(_11); // scope 8 at $DIR/const_debuginfo.rs:+14:1: +14:2 |
98 |
| - StorageDead(_17); // scope 7 at $DIR/const_debuginfo.rs:+14:1: +14:2 |
99 |
| - StorageDead(_18); // scope 7 at $DIR/const_debuginfo.rs:+14:1: +14:2 |
100 |
| - StorageDead(_10); // scope 6 at $DIR/const_debuginfo.rs:+14:1: +14:2 |
101 |
| - StorageDead(_14); // scope 5 at $DIR/const_debuginfo.rs:+14:1: +14:2 |
102 |
| - StorageDead(_15); // scope 5 at $DIR/const_debuginfo.rs:+14:1: +14:2 |
103 |
| - StorageDead(_16); // scope 5 at $DIR/const_debuginfo.rs:+14:1: +14:2 |
| 69 | + StorageLive(_10); // scope 5 at $DIR/const_debuginfo.rs:+8:9: +8:10 |
| 70 | + _10 = (const true, const false, const 123_u32); // scope 5 at $DIR/const_debuginfo.rs:+8:13: +8:34 |
| 71 | + StorageLive(_11); // scope 6 at $DIR/const_debuginfo.rs:+10:9: +10:10 |
| 72 | + _11 = Option::<u16>::Some(const 99_u16); // scope 6 at $DIR/const_debuginfo.rs:+10:13: +10:24 |
| 73 | + StorageLive(_12); // scope 7 at $DIR/const_debuginfo.rs:+12:9: +12:10 |
| 74 | + _12 = Point { x: const 32_u32, y: const 32_u32 }; // scope 7 at $DIR/const_debuginfo.rs:+12:13: +12:35 |
| 75 | + StorageLive(_13); // scope 8 at $DIR/const_debuginfo.rs:+13:9: +13:10 |
| 76 | + StorageLive(_14); // scope 8 at $DIR/const_debuginfo.rs:+13:13: +13:16 |
| 77 | + _14 = const 32_u32; // scope 8 at $DIR/const_debuginfo.rs:+13:13: +13:16 |
| 78 | + StorageLive(_15); // scope 8 at $DIR/const_debuginfo.rs:+13:19: +13:22 |
| 79 | + _15 = const 32_u32; // scope 8 at $DIR/const_debuginfo.rs:+13:19: +13:22 |
| 80 | + _13 = const 64_u32; // scope 8 at $DIR/const_debuginfo.rs:+13:13: +13:22 |
| 81 | + StorageDead(_15); // scope 8 at $DIR/const_debuginfo.rs:+13:21: +13:22 |
| 82 | + StorageDead(_14); // scope 8 at $DIR/const_debuginfo.rs:+13:21: +13:22 |
| 83 | + StorageDead(_13); // scope 8 at $DIR/const_debuginfo.rs:+14:1: +14:2 |
| 84 | + StorageDead(_12); // scope 7 at $DIR/const_debuginfo.rs:+14:1: +14:2 |
| 85 | + StorageDead(_11); // scope 6 at $DIR/const_debuginfo.rs:+14:1: +14:2 |
| 86 | + StorageDead(_10); // scope 5 at $DIR/const_debuginfo.rs:+14:1: +14:2 |
104 | 87 | StorageDead(_9); // scope 4 at $DIR/const_debuginfo.rs:+14:1: +14:2
|
105 | 88 | StorageDead(_4); // scope 3 at $DIR/const_debuginfo.rs:+14:1: +14:2
|
106 | 89 | return; // scope 0 at $DIR/const_debuginfo.rs:+14:2: +14:2
|
|
0 commit comments