E0228

Unknown method, variant, or associated function, or an associated function called on a value.

Machine-applicable fix: Replace the name with the single closest member, when one is close enough.

Example

This program fails with E0228.

fn main() {
    let t = "  hi ".trimm()
}

Fixed

The same program, fixed.

fn main() {
    let t = "  hi ".trim()
}

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

All error codes