2020-05-20 15:09:03 -05:00
|
|
|
error: can't reassign to an uninitialized variable
|
2020-07-02 00:32:12 -05:00
|
|
|
--> $DIR/let-binop.rs:4:15
|
2020-05-06 20:57:31 -05:00
|
|
|
|
|
|
|
|
LL | let a: i8 *= 1;
|
2020-05-07 16:45:51 -05:00
|
|
|
| ^^ help: initialize the variable
|
2021-03-12 14:56:30 -06:00
|
|
|
|
|
|
|
|
= help: if you meant to overwrite, remove the `let` binding
|
2020-05-06 20:57:31 -05:00
|
|
|
|
2020-05-20 15:09:03 -05:00
|
|
|
error: can't reassign to an uninitialized variable
|
2020-07-02 00:32:12 -05:00
|
|
|
--> $DIR/let-binop.rs:6:11
|
2020-05-06 20:57:31 -05:00
|
|
|
|
|
|
|
|
LL | let b += 1;
|
2020-05-20 15:09:03 -05:00
|
|
|
| ^^ help: initialize the variable
|
2021-03-12 14:56:30 -06:00
|
|
|
|
|
|
|
|
= help: if you meant to overwrite, remove the `let` binding
|
2020-05-06 20:57:31 -05:00
|
|
|
|
2020-05-20 15:09:03 -05:00
|
|
|
error: can't reassign to an uninitialized variable
|
2020-07-02 00:32:12 -05:00
|
|
|
--> $DIR/let-binop.rs:8:11
|
2020-05-06 20:57:31 -05:00
|
|
|
|
|
|
|
|
LL | let c *= 1;
|
2020-05-20 15:09:03 -05:00
|
|
|
| ^^ help: initialize the variable
|
2021-03-12 14:56:30 -06:00
|
|
|
|
|
|
|
|
= help: if you meant to overwrite, remove the `let` binding
|
2020-05-06 20:57:31 -05:00
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|