Fix quotes in output

This commit is contained in:
Michael Goulet 2023-07-17 00:32:13 +00:00
parent 77e24f90f5
commit fe4d1f9fe9
5 changed files with 18 additions and 18 deletions

View file

@ -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(