blob: 11041bb53ee5527c7d154401c79b36709ee94d1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
An invalid left-hand side expression was used on an assignment operation.
Erroneous code example:
```compile_fail,E0067
12 += 1; // error!
```
You need to have a place expression to be able to assign it something. For
example:
```
let mut x: i8 = 12;
x += 1; // ok!
```
|