E0221

Unknown value name, or self outside a method with a receiver.

Machine-applicable fix: Replace the name with the single closest local, function, or prelude variant, when one is close enough.

Example

This program fails with E0221.

fn main() {
    let count = 1
    let total = cuont + 1
}

Fixed

The same program, fixed.

fn main() {
    let count = 1
    let total = count + 1
}

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

All error codes