1 warning: value assigned to `last` is never read
2 --> $DIR/liveness-upvars.rs:9:9
7 note: the lint level is defined here
8 --> $DIR/liveness-upvars.rs:3:9
12 = note: `#[warn(unused_assignments)]` implied by `#[warn(unused)]`
13 = help: maybe it is overwritten before being read?
15 warning: unused variable: `last`
16 --> $DIR/liveness-upvars.rs:9:9
21 note: the lint level is defined here
22 --> $DIR/liveness-upvars.rs:3:9
26 = note: `#[warn(unused_variables)]` implied by `#[warn(unused)]`
27 = help: did you mean to capture by reference instead?
29 warning: unused variable: `sum`
30 --> $DIR/liveness-upvars.rs:21:9
35 = help: did you mean to capture by reference instead?
37 warning: value captured by `c` is never read
38 --> $DIR/liveness-upvars.rs:31:9
43 = help: did you mean to capture by reference instead?
45 warning: value captured by `c` is never read
46 --> $DIR/liveness-upvars.rs:35:9
51 = help: did you mean to capture by reference instead?
53 warning: unused variable: `c`
54 --> $DIR/liveness-upvars.rs:41:9
59 = help: did you mean to capture by reference instead?
61 warning: value assigned to `c` is never read
62 --> $DIR/liveness-upvars.rs:44:9
67 = help: maybe it is overwritten before being read?
69 warning: unused variable: `c`
70 --> $DIR/liveness-upvars.rs:44:9
75 = help: did you mean to capture by reference instead?
77 warning: value assigned to `c` is never read
78 --> $DIR/liveness-upvars.rs:57:9
83 = help: maybe it is overwritten before being read?
85 warning: value assigned to `c` is never read
86 --> $DIR/liveness-upvars.rs:63:9
91 = help: maybe it is overwritten before being read?
93 warning: value assigned to `d` is never read
94 --> $DIR/liveness-upvars.rs:72:13
99 = help: maybe it is overwritten before being read?
101 warning: value assigned to `e` is never read
102 --> $DIR/liveness-upvars.rs:76:13
107 = help: maybe it is overwritten before being read?
109 warning: value assigned to `e` is never read
110 --> $DIR/liveness-upvars.rs:78:13
115 = help: maybe it is overwritten before being read?
117 warning: unused variable: `e`
118 --> $DIR/liveness-upvars.rs:76:13
123 = help: did you mean to capture by reference instead?
125 warning: value assigned to `v` is never read
126 --> $DIR/liveness-upvars.rs:86:13
128 LL | v = T::default();
131 = help: maybe it is overwritten before being read?
133 warning: value assigned to `z` is never read
134 --> $DIR/liveness-upvars.rs:98:17
136 LL | z = T::default();
139 = help: maybe it is overwritten before being read?
141 warning: unused variable: `z`
142 --> $DIR/liveness-upvars.rs:98:17
144 LL | z = T::default();
147 = help: did you mean to capture by reference instead?
149 warning: 17 warnings emitted