summary refs log tree commit diff
path: root/src/test/ui/parser/let-binop.stderr
blob: 90295854a2d2d6a35be0bd81f7a65935704a08c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error: can't reassign to an uninitialized variable
  --> $DIR/let-binop.rs:4:15
   |
LL |     let a: i8 *= 1;
   |               ^^ help: initialize the variable

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

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

error: aborting due to 3 previous errors