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