fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1// MIR for `use_x` 0 nll 2 3| Free Region Mapping 4| '?0 | Global | ['?2, '?1, '?0, '?4, '?3] 5| '?1 | Local | ['?1, '?4] 6| '?2 | Local | ['?2, '?1, '?4] 7| '?3 | Local | ['?4, '?3] 8| '?4 | Local | ['?4] 9| 10| Inferred Region Values 11| '?0 | U0 | {bb0[0..=1], '?0, '?1, '?2, '?3, '?4} 12| '?1 | U0 | {bb0[0..=1], '?1} 13| '?2 | U0 | {bb0[0..=1], '?2} 14| '?3 | U0 | {bb0[0..=1], '?3} 15| '?4 | U0 | {bb0[0..=1], '?4} 16| '?5 | U0 | {bb0[0..=1], '?1} 17| '?6 | U0 | {bb0[0..=1], '?2} 18| '?7 | U0 | {bb0[0..=1], '?1} 19| '?8 | U0 | {bb0[0..=1], '?3} 20| 21| Inference Constraints 22| '?0 live at {bb0[0..=1]} 23| '?1 live at {bb0[0..=1]} 24| '?2 live at {bb0[0..=1]} 25| '?3 live at {bb0[0..=1]} 26| '?4 live at {bb0[0..=1]} 27| '?1: '?5 due to BoringNoLocation at All($DIR/named_lifetimes_basic.rs:12:26: 12:27) ($DIR/named_lifetimes_basic.rs:12:26: 12:27 (#0) 28| '?1: '?7 due to BoringNoLocation at All($DIR/named_lifetimes_basic.rs:12:54: 12:55) ($DIR/named_lifetimes_basic.rs:12:54: 12:55 (#0) 29| '?2: '?6 due to BoringNoLocation at All($DIR/named_lifetimes_basic.rs:12:42: 12:43) ($DIR/named_lifetimes_basic.rs:12:42: 12:43 (#0) 30| '?3: '?8 due to BoringNoLocation at All($DIR/named_lifetimes_basic.rs:12:66: 12:67) ($DIR/named_lifetimes_basic.rs:12:66: 12:67 (#0) 31| '?5: '?1 due to BoringNoLocation at All($DIR/named_lifetimes_basic.rs:12:26: 12:27) ($DIR/named_lifetimes_basic.rs:12:26: 12:27 (#0) 32| '?6: '?2 due to BoringNoLocation at All($DIR/named_lifetimes_basic.rs:12:42: 12:43) ($DIR/named_lifetimes_basic.rs:12:42: 12:43 (#0) 33| '?7: '?1 due to BoringNoLocation at All($DIR/named_lifetimes_basic.rs:12:54: 12:55) ($DIR/named_lifetimes_basic.rs:12:54: 12:55 (#0) 34| '?8: '?3 due to BoringNoLocation at All($DIR/named_lifetimes_basic.rs:12:66: 12:67) ($DIR/named_lifetimes_basic.rs:12:66: 12:67 (#0) 35| 36fn use_x(_1: &'?5 mut i32, _2: &'?6 u32, _3: &'?7 u32, _4: &'?8 u32) -> bool { 37 debug w => _1; 38 debug x => _2; 39 debug y => _3; 40 debug z => _4; 41 let mut _0: bool; 42 43 bb0: { 44 _0 = const ConstValue(Scalar(0x01): bool); 45 return; 46 } 47}