XO0151: string, raw string, bytes, or triple quoted string not closed
A string literal "...", raw string r"..." or r#"..."#, bytes literal b"...", or triple quoted string """...""" reached the end of the line (or file, for triple quoted strings) without its closing delimiter. Plain strings cannot span lines; use a triple quoted string for multi line text. A raw string opened with r#" must close with "#. See core 1.6.
Example
fn f() -> Str {
let s = "abc
s
}
Fix
fn f() -> Str {
let s = "abc"
s
}Run xo explain XO0151 for this text in a terminal, or see
section 10.6 of the specification.