1 warning: the feature `capture_disjoint_fields` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/liveness_unintentional_copy.rs:2:12
4 LL | #![feature(capture_disjoint_fields)]
5 | ^^^^^^^^^^^^^^^^^^^^^^^
7 = note: `#[warn(incomplete_features)]` on by default
8 = note: see issue #53488 <https://github.com/rust-lang/rust/issues/53488> for more information
10 warning: value assigned to `a` is never read
11 --> $DIR/liveness_unintentional_copy.rs:19:9
16 note: the lint level is defined here
17 --> $DIR/liveness_unintentional_copy.rs:4:9
21 = note: `#[warn(unused_assignments)]` implied by `#[warn(unused)]`
22 = help: maybe it is overwritten before being read?
24 warning: unused variable: `a`
25 --> $DIR/liveness_unintentional_copy.rs:19:9
30 note: the lint level is defined here
31 --> $DIR/liveness_unintentional_copy.rs:4:9
35 = note: `#[warn(unused_variables)]` implied by `#[warn(unused)]`
36 = help: did you mean to capture by reference instead?
38 warning: unused variable: `a`
39 --> $DIR/liveness_unintentional_copy.rs:35:9
44 = help: did you mean to capture by reference instead?
46 warning: 4 warnings emitted