summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/let-binop.stderr
blob: dd33e9157cfd58a23811c5d7098368446b44211b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
error: can't reassign to an uninitialized variable
  --> $DIR/let-binop.rs:4:15
   |
LL |     let a: i8 *= 1;
   |               ^^ help: initialize the variable
   |
   = help: if you meant to overwrite, remove the `let` binding

error: can't reassign to an uninitialized variable
  --> $DIR/let-binop.rs:6:11
   |
LL |     let b += 1;
   |           ^^ help: initialize the variable
   |
   = help: if you meant to overwrite, remove the `let` binding

error: can't reassign to an uninitialized variable
  --> $DIR/let-binop.rs:8:11
   |
LL |     let c *= 1;
   |           ^^ help: initialize the variable
   |
   = help: if you meant to overwrite, remove the `let` binding

error: aborting due to 3 previous errors