about summary refs log tree commit diff
path: root/tests/ui/parser/raw/raw-string-2.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/raw/raw-string-2.stderr')
-rw-r--r--tests/ui/parser/raw/raw-string-2.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/parser/raw/raw-string-2.stderr b/tests/ui/parser/raw/raw-string-2.stderr
new file mode 100644
index 00000000000..8bbac9d7bd0
--- /dev/null
+++ b/tests/ui/parser/raw/raw-string-2.stderr
@@ -0,0 +1,11 @@
+error[E0748]: unterminated raw string
+  --> $DIR/raw-string-2.rs:2:13
+   |
+LL |     let x = r###"here's a long string"# "# "##;
+   |             ^ unterminated raw string       -- help: consider terminating the string here: `###`
+   |
+   = note: this raw string should be terminated with `"###`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0748`.