]> git.proxmox.com Git - rustc.git/blobdiff - tests/ui/parser/macro-mismatched-delim-paren-brace.stderr
New upstream version 1.69.0+dfsg1
[rustc.git] / tests / ui / parser / macro-mismatched-delim-paren-brace.stderr
index 967a3e6fdc11b76a56a6f6cf88cf6eba459ad50a..34217e21ae95ef582c3420c92caeabebd75e2546 100644 (file)
@@ -1,14 +1,3 @@
-error: unexpected closing delimiter: `}`
-  --> $DIR/macro-mismatched-delim-paren-brace.rs:5:1
-   |
-LL | fn main() {
-   |           - this opening brace...
-...
-LL |     }
-   |     - ...matches this closing brace
-LL | }
-   | ^ unexpected closing delimiter
-
 error: mismatched closing delimiter: `}`
   --> $DIR/macro-mismatched-delim-paren-brace.rs:2:10
    |
@@ -18,5 +7,16 @@ LL |         bar, "baz", 1, 2.0
 LL |     }
    |     ^ mismatched closing delimiter
 
+error: unexpected closing delimiter: `}`
+  --> $DIR/macro-mismatched-delim-paren-brace.rs:5:1
+   |
+LL | fn main() {
+   |           - this delimiter might not be properly closed...
+...
+LL |     }
+   |     - ...as it matches this but it has different indentation
+LL | }
+   | ^ unexpected closing delimiter
+
 error: aborting due to 2 previous errors