48 lines
2.7 KiB
Rust
48 lines
2.7 KiB
Rust
// MIR for `use_x` 0 nll
|
|
|
|
| Free Region Mapping
|
|
| '_#0r | Global | ['_#2r, '_#1r, '_#0r, '_#4r, '_#3r]
|
|
| '_#1r | Local | ['_#1r, '_#4r]
|
|
| '_#2r | Local | ['_#2r, '_#1r, '_#4r]
|
|
| '_#3r | Local | ['_#4r, '_#3r]
|
|
| '_#4r | Local | ['_#4r]
|
|
|
|
|
| Inferred Region Values
|
|
| '_#0r | U0 | {bb0[0..=1], '_#0r, '_#1r, '_#2r, '_#3r, '_#4r}
|
|
| '_#1r | U0 | {bb0[0..=1], '_#1r}
|
|
| '_#2r | U0 | {bb0[0..=1], '_#2r}
|
|
| '_#3r | U0 | {bb0[0..=1], '_#3r}
|
|
| '_#4r | U0 | {bb0[0..=1], '_#4r}
|
|
| '_#5r | U0 | {bb0[0..=1], '_#1r}
|
|
| '_#6r | U0 | {bb0[0..=1], '_#2r}
|
|
| '_#7r | U0 | {bb0[0..=1], '_#1r}
|
|
| '_#8r | U0 | {bb0[0..=1], '_#3r}
|
|
|
|
|
| Inference Constraints
|
|
| '_#0r live at {bb0[0..=1]}
|
|
| '_#1r live at {bb0[0..=1]}
|
|
| '_#2r live at {bb0[0..=1]}
|
|
| '_#3r live at {bb0[0..=1]}
|
|
| '_#4r live at {bb0[0..=1]}
|
|
| '_#1r: '_#5r due to BoringNoLocation at All($DIR/named_lifetimes_basic.rs:12:26: 12:27) ($DIR/named_lifetimes_basic.rs:12:26: 12:27 (#0)
|
|
| '_#1r: '_#7r due to BoringNoLocation at All($DIR/named_lifetimes_basic.rs:12:54: 12:55) ($DIR/named_lifetimes_basic.rs:12:54: 12:55 (#0)
|
|
| '_#2r: '_#6r due to BoringNoLocation at All($DIR/named_lifetimes_basic.rs:12:42: 12:43) ($DIR/named_lifetimes_basic.rs:12:42: 12:43 (#0)
|
|
| '_#3r: '_#8r due to BoringNoLocation at All($DIR/named_lifetimes_basic.rs:12:66: 12:67) ($DIR/named_lifetimes_basic.rs:12:66: 12:67 (#0)
|
|
| '_#5r: '_#1r due to BoringNoLocation at All($DIR/named_lifetimes_basic.rs:12:26: 12:27) ($DIR/named_lifetimes_basic.rs:12:26: 12:27 (#0)
|
|
| '_#6r: '_#2r due to BoringNoLocation at All($DIR/named_lifetimes_basic.rs:12:42: 12:43) ($DIR/named_lifetimes_basic.rs:12:42: 12:43 (#0)
|
|
| '_#7r: '_#1r due to BoringNoLocation at All($DIR/named_lifetimes_basic.rs:12:54: 12:55) ($DIR/named_lifetimes_basic.rs:12:54: 12:55 (#0)
|
|
| '_#8r: '_#3r due to BoringNoLocation at All($DIR/named_lifetimes_basic.rs:12:66: 12:67) ($DIR/named_lifetimes_basic.rs:12:66: 12:67 (#0)
|
|
|
|
|
fn use_x(_1: &'_#5r mut i32, _2: &'_#6r u32, _3: &'_#7r u32, _4: &'_#8r u32) -> bool {
|
|
debug w => _1; // in scope 0 at $DIR/named_lifetimes_basic.rs:+0:26: +0:27
|
|
debug x => _2; // in scope 0 at $DIR/named_lifetimes_basic.rs:+0:42: +0:43
|
|
debug y => _3; // in scope 0 at $DIR/named_lifetimes_basic.rs:+0:54: +0:55
|
|
debug z => _4; // in scope 0 at $DIR/named_lifetimes_basic.rs:+0:66: +0:67
|
|
let mut _0: bool; // return place in scope 0 at $DIR/named_lifetimes_basic.rs:+0:81: +0:85
|
|
|
|
bb0: {
|
|
_0 = const ConstValue(Scalar(0x01): bool); // bb0[0]: scope 0 at $DIR/named_lifetimes_basic.rs:+0:88: +0:92
|
|
return; // bb0[1]: scope 0 at $DIR/named_lifetimes_basic.rs:+0:94: +0:94
|
|
}
|
|
}
|