E0214

A function, method, field, parameter, or local variable (let, var, for) name that starts with an uppercase letter (ADR 0005). A leading _ is allowed. Pattern bindings need no check: an uppercase name in a pattern is a variant (E0250).

Machine-applicable fix: none.

Example

This program fails with E0214.

fn Double(n: Int) -> Int {
    n * 2
}

Fixed

The same program, fixed.

fn double(n: Int) -> Int {
    n * 2
}

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

All error codes