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