summaryrefslogtreecommitdiffstats
path: root/tests/ui/fmt/issue-86085.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/fmt/issue-86085.stderr')
-rw-r--r--tests/ui/fmt/issue-86085.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/fmt/issue-86085.stderr b/tests/ui/fmt/issue-86085.stderr
new file mode 100644
index 000000000..ee7d8a5cc
--- /dev/null
+++ b/tests/ui/fmt/issue-86085.stderr
@@ -0,0 +1,11 @@
+error: invalid format string: unmatched `}` found
+ --> $DIR/issue-86085.rs:4:12
+ |
+LL | format ! ( concat ! ( r#"lJ𐏿Æ�.𐏿�"# , "r} {}" ) ) ;
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unmatched `}` in format string
+ |
+ = note: if you intended to print `}`, you can escape it using `}}`
+ = note: this error originates in the macro `concat` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: aborting due to previous error
+