summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/raw/raw-str-unterminated.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/parser/raw/raw-str-unterminated.stderr')
-rw-r--r--src/test/ui/parser/raw/raw-str-unterminated.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/parser/raw/raw-str-unterminated.stderr b/src/test/ui/parser/raw/raw-str-unterminated.stderr
new file mode 100644
index 000000000..077f763f1
--- /dev/null
+++ b/src/test/ui/parser/raw/raw-str-unterminated.stderr
@@ -0,0 +1,11 @@
+error[E0748]: unterminated raw string
+ --> $DIR/raw-str-unterminated.rs:2:5
+ |
+LL | r#" string literal goes on
+ | ^ 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`.