summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/new-unicode-escapes-2.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/new-unicode-escapes-2.stderr')
-rw-r--r--tests/ui/parser/new-unicode-escapes-2.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/parser/new-unicode-escapes-2.stderr b/tests/ui/parser/new-unicode-escapes-2.stderr
new file mode 100644
index 000000000..2f3f8c0f9
--- /dev/null
+++ b/tests/ui/parser/new-unicode-escapes-2.stderr
@@ -0,0 +1,8 @@
+error: overlong unicode escape
+ --> $DIR/new-unicode-escapes-2.rs:2:14
+ |
+LL | let s = "\u{260311111111}";
+ | ^^^^^^^^^^^^^^^^ must have at most 6 hex digits
+
+error: aborting due to previous error
+