about summary refs log tree commit diff
path: root/src/test/ui/parser/wrong-escape-of-curly-braces.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/parser/wrong-escape-of-curly-braces.rs')
-rw-r--r--src/test/ui/parser/wrong-escape-of-curly-braces.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/test/ui/parser/wrong-escape-of-curly-braces.rs b/src/test/ui/parser/wrong-escape-of-curly-braces.rs
deleted file mode 100644
index 8e5258acd49..00000000000
--- a/src/test/ui/parser/wrong-escape-of-curly-braces.rs
+++ /dev/null
@@ -1,8 +0,0 @@
-fn main() {
-    let ok = "{{everything fine}}";
-    let bad = "\{it is wrong\}";
-    //~^  ERROR unknown character escape: `{`
-    //~|  HELP if used in a formatting string, curly braces are escaped with `{{` and `}}`
-    //~| ERROR unknown character escape: `}`
-    //~| HELP if used in a formatting string, curly braces are escaped with `{{` and `}}`
-}