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