From fe4d1f9fe979bab54aba6316a5207f7793d751b1 Mon Sep 17 00:00:00 2001 From: Michael Goulet Date: Mon, 17 Jul 2023 00:32:13 +0000 Subject: Fix quotes in output --- compiler/rustc_parse_format/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/rustc_parse_format/src') 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( -- cgit 1.4.1-3-g733a5