Update an error message with \U support

This commit is contained in:
Alex Crichton 2014-07-15 19:13:42 -07:00
parent c4d9e5c0b4
commit 3a7ec7f4c4

View file

@ -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),
})
}
}