summaryrefslogtreecommitdiffstats
path: root/tests/ui/inference/str-as-char.fixed
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/inference/str-as-char.fixed')
-rw-r--r--tests/ui/inference/str-as-char.fixed1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/inference/str-as-char.fixed b/tests/ui/inference/str-as-char.fixed
index 6aea809cb..911b067c4 100644
--- a/tests/ui/inference/str-as-char.fixed
+++ b/tests/ui/inference/str-as-char.fixed
@@ -7,4 +7,5 @@ fn main() {
let _: &str = "a"; //~ ERROR mismatched types
let _: &str = "\"\"\""; //~ ERROR character literal may only contain one codepoint
let _: &str = "\"\"\""; //~ ERROR character literal may only contain one codepoint
+ let _: &str = "\"\"\\\"\\\"\\\\\""; //~ ERROR character literal may only contain one codepoint
}