Update an error message with \U support
This commit is contained in:
parent
c4d9e5c0b4
commit
3a7ec7f4c4
|
@ -355,7 +355,7 @@ impl<'a> Parser<'a> {
|
|||
lo: pos,
|
||||
hi: pos + 1,
|
||||
desc: format!("expected {} hex digits \
|
||||
after a `u` escape", len),
|
||||
after a `{}` escape", len, c),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue