rust/tests/ui/parser/let-binop.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
719 B
Plaintext
Raw Normal View History

error: can't reassign to an uninitialized variable
2020-07-02 00:32:12 -05:00
--> $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
2020-07-02 00:32:12 -05:00
--> $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
2020-07-02 00:32:12 -05:00
--> $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