E0106

An assignment whose left side is not a name or a field path, such as x + 1 = 2.

Machine-applicable fix: none.

Example

This program fails with E0106.

fn main() {
    var x = 1
    x + 1 = 2
}

Fixed

The same program, fixed.

fn main() {
    var x = 1
    x = 2
}

Listed in the checker notes. oskac explain E0106 prints this entry offline.

All error codes