summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/unclosed-braces.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/parser/unclosed-braces.stderr17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/test/ui/parser/unclosed-braces.stderr b/src/test/ui/parser/unclosed-braces.stderr
new file mode 100644
index 000000000..cbc5f8de4
--- /dev/null
+++ b/src/test/ui/parser/unclosed-braces.stderr
@@ -0,0 +1,17 @@
+error: this file contains an unclosed delimiter
+ --> $DIR/unclosed-braces.rs:22:52
+ |
+LL | fn main() {
+ | - unclosed delimiter
+...
+LL | {
+ | - this delimiter might not be properly closed...
+...
+LL | }
+ | - ...as it matches this but it has different indentation
+...
+LL |
+ | ^
+
+error: aborting due to previous error
+