]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/let-binop.stderr
Merge commit '54a20a02ecd0e1352a871aa0990bcc8b8b03173e' into clippyup
[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    = help: if you meant to overwrite, remove the `let` binding
8
9 error: can't reassign to an uninitialized variable
10   --> $DIR/let-binop.rs:6:11
11    |
12 LL |     let b += 1;
13    |           ^^ help: initialize the variable
14    |
15    = help: if you meant to overwrite, remove the `let` binding
16
17 error: can't reassign to an uninitialized variable
18   --> $DIR/let-binop.rs:8:11
19    |
20 LL |     let c *= 1;
21    |           ^^ help: initialize the variable
22    |
23    = help: if you meant to overwrite, remove the `let` binding
24
25 error: aborting due to 3 previous errors
26