Using Windows style (or Mac OS 9) style line endings results in "unknown string escape: \r" when attempting to use a multiline string literal.
test.rs:2:26: 2:27 error: unknown string escape: \r
test.rs:2 let string = ~"This is \
^
fn main() {
let string = "This is \
a test";
}
When cloning a rust library, git automatically converted the Linux style line endings to Windows which caused compilation to fail.
Using Windows style (or Mac OS 9) style line endings results in "unknown string escape: \r" when attempting to use a multiline string literal.
When cloning a rust library, git automatically converted the Linux style line endings to Windows which caused compilation to fail.