E0002

A string literal that is not closed before the end of the file. Spans the literal from its opening quote.

Machine-applicable fix: none.

Example

This program fails with E0002.

fn main() {
    let greeting = "hello
}

Fixed

The same program, fixed.

fn main() {
    let greeting = "hello"
}

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

All error codes