Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lexer: do not display char confusingly in error message
Current code leads to messages like "... use a \xHH escape: \u{e4}" which is confusing. The printed span already points to the offending character, which should be enough to identify the non-ASCII problem. Fixes: rust-lang#29088
- Loading branch information