E0233

A type that inference cannot work out, such as let xs = List.new() with no later use.

Machine-applicable fix: none.

Example

This program fails with E0233.

fn main() {
    let xs = List.new()
}

Fixed

The same program, fixed.

fn main() {
    let xs: List<Int> = List.new()
}

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

All error codes