]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/let-binop.stderr
Merge commit '03f01bbe901d60b71cf2c5ec766aef5e532ab79d' into update_cg_clif-2020...
[rust.git] / src / test / ui / parser / let-binop.stderr
1 error: can't reassign to an uninitialized variable
2   --> $DIR/let-binop.rs:4:15
3    |
4 LL |     let a: i8 *= 1;
5    |               ^^ help: initialize the variable
6
7 error: can't reassign to an uninitialized variable
8   --> $DIR/let-binop.rs:6:11
9    |
10 LL |     let b += 1;
11    |           ^^ help: initialize the variable
12
13 error: can't reassign to an uninitialized variable
14   --> $DIR/let-binop.rs:8:11
15    |
16 LL |     let c *= 1;
17    |           ^^ help: initialize the variable
18
19 error: aborting due to 3 previous errors
20