From 3a7ec7f4c4716d2967aedab2ef3d051c9cfc2041 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 15 Jul 2014 19:13:42 -0700 Subject: Update an error message with \U support --- src/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser.rs b/src/parser.rs index ffe3eb8..ec9adf9 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -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), }) } } -- cgit v1.2.3