E0003

An invalid escape in a string: a backslash followed by anything but one of the escapes. Spans the backslash.

Machine-applicable fix: none.

Example

This program fails with E0003.

fn main() {
    let path = "C:\data"
}

Fixed

The same program, fixed.

fn main() {
    let path = "C:\\data"
}

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

All error codes