about summary refs log tree commit diff
path: root/compiler/rustc_parse_format/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-07-17 00:32:13 +0000
committerMichael Goulet <michael@errs.io>2023-07-19 16:27:28 +0000
commitfe4d1f9fe979bab54aba6316a5207f7793d751b1 (patch)
tree2ebbbfae8606f82e6c98eeb73ce263ea8a76bbf3 /compiler/rustc_parse_format/src
parent77e24f90f599070af2d8051ef9adad7fe528dd78 (diff)
downloadrust-fe4d1f9fe979bab54aba6316a5207f7793d751b1.tar.gz
rust-fe4d1f9fe979bab54aba6316a5207f7793d751b1.zip
Fix quotes in output
Diffstat (limited to 'compiler/rustc_parse_format/src')
-rw-r--r--compiler/rustc_parse_format/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse_format/src/lib.rs b/compiler/rustc_parse_format/src/lib.rs
index 7de84db211e..f66468e9796 100644
--- a/compiler/rustc_parse_format/src/lib.rs
+++ b/compiler/rustc_parse_format/src/lib.rs
@@ -460,7 +460,7 @@ impl<'a> Parser<'a> {
             } else {
                 let pos = self.to_span_index(pos);
                 let description = format!("expected `'}}'`, found `{maybe:?}`");
-                let label = "expected `}`".to_owned();
+                let label = "expected `'}'`".to_owned();
                 let (note, secondary_label) = if c == '}' {
                     (
                         Some(