Raw string quoting is mishandled
benw opened this issue · comments
This is highlighted as though bar
is outside the string, and everything after bar
is treated as being the contents of another string:
fn main() {
let x = r#"foo"bar"#;
println!("{}", x);
}
The relevant bit of the docs: https://doc.rust-lang.org/reference/tokens.html#raw-string-literals