diff options
Diffstat (limited to 'src/test/ui/parser/trailing-carriage-return-in-string.stderr')
-rw-r--r-- | src/test/ui/parser/trailing-carriage-return-in-string.stderr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/parser/trailing-carriage-return-in-string.stderr b/src/test/ui/parser/trailing-carriage-return-in-string.stderr new file mode 100644 index 000000000..8a44e0270 --- /dev/null +++ b/src/test/ui/parser/trailing-carriage-return-in-string.stderr @@ -0,0 +1,10 @@ +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 previous error + |