1 // Basic test for liveness constraints: the region (`R1`) that appears
2 // in the type of `p` includes the points after `&v[0]` up to (but not
3 // including) the call to `use_x`. The `else` branch is not included.
5 // compile-flags:-Zverbose
6 // ^^^^^^^^^ force compiler to dump more region information
10 fn use_x(_: usize) -> bool {
14 // EMIT_MIR_FOR_EACH_BIT_WIDTH
15 // EMIT_MIR region_subtyping_basic.main.nll.0.mir
17 let mut v = [1, 2, 3];