diff options
Diffstat (limited to 'tests/ui/parser/new-unicode-escapes-1.stderr')
-rw-r--r-- | tests/ui/parser/new-unicode-escapes-1.stderr | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/parser/new-unicode-escapes-1.stderr b/tests/ui/parser/new-unicode-escapes-1.stderr new file mode 100644 index 000000000..d133e46b4 --- /dev/null +++ b/tests/ui/parser/new-unicode-escapes-1.stderr @@ -0,0 +1,13 @@ +error: unterminated unicode escape + --> $DIR/new-unicode-escapes-1.rs:2:14 + | +LL | let s = "\u{2603"; + | ^^^^^^^ missing a closing `}` + | +help: terminate the unicode escape + | +LL | let s = "\u{2603}"; + | + + +error: aborting due to previous error + |