rust/tests/ui/parser/trailing-carriage-return-in-string.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

11 lines
348 B
Plaintext

error: unknown character escape: `\r`
--> $DIR/trailing-carriage-return-in-string.rs:10:25
|
LL | let bad = "This is \
a test";
| ^ unknown character escape
|
= help: this is an isolated carriage return; consider checking your editor and version control settings
error: aborting due to 1 previous error