warning: the feature `capture_disjoint_fields` is incomplete and may not be safe to use and/or cause compiler crashes --> $DIR/liveness.rs:2:12 | LL | #![feature(capture_disjoint_fields)] | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(incomplete_features)]` on by default = note: see issue #53488 for more information warning: value captured by `a` is never read --> $DIR/liveness.rs:23:9 | LL | a = 1; | ^ | note: the lint level is defined here --> $DIR/liveness.rs:5:9 | LL | #![warn(unused)] | ^^^^^^ = note: `#[warn(unused_assignments)]` implied by `#[warn(unused)]` = help: did you mean to capture by reference instead? warning: unused variable: `a` --> $DIR/liveness.rs:32:9 | LL | a += 1; | ^ | note: the lint level is defined here --> $DIR/liveness.rs:5:9 | LL | #![warn(unused)] | ^^^^^^ = note: `#[warn(unused_variables)]` implied by `#[warn(unused)]` = help: did you mean to capture by reference instead? warning: value assigned to `a` is never read --> $DIR/liveness.rs:52:9 | LL | a += 1; | ^ | = help: maybe it is overwritten before being read? warning: value assigned to `a` is never read --> $DIR/liveness.rs:76:13 | LL | a = Some("d1"); | ^ | = help: maybe it is overwritten before being read? warning: value assigned to `b` is never read --> $DIR/liveness.rs:84:13 | LL | b = Some("e1"); | ^ | = help: maybe it is overwritten before being read? warning: value assigned to `b` is never read --> $DIR/liveness.rs:86:13 | LL | b = Some("e2"); | ^ | = help: maybe it is overwritten before being read? warning: unused variable: `b` --> $DIR/liveness.rs:84:13 | LL | b = Some("e1"); | ^ | = help: did you mean to capture by reference instead? warning: 8 warnings emitted