E0220

Type mismatch: an expression's type differs from the type expected there. There are no implicit conversions.

Machine-applicable fix: none.

Example

This program fails with E0220.

fn main() {
    let x: Int = "one"
}

Fixed

The same program, fixed.

fn main() {
    let x: Int = 1
}

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

All error codes