diff options
Diffstat (limited to 'compiler/rustc_parse_format/src')
| -rw-r--r-- | compiler/rustc_parse_format/src/lib.rs | 2 |
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( |
