about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2016-05-02 07:44:21 +0200
committerGeorg Brandl <georg@python.org>2016-05-02 07:45:57 +0200
commit9e2300015bc2a88f8f3f81d208f5dfcc1c45d31d (patch)
tree5833e0e30072ec9091e819c741e9c5633a90aa27 /src/rustllvm/RustWrapper.cpp
parent855fb6192263a5c059325bb4b4e10b55e4e8ddbb (diff)
downloadrust-9e2300015bc2a88f8f3f81d208f5dfcc1c45d31d.tar.gz
rust-9e2300015bc2a88f8f3f81d208f5dfcc1c45d31d.zip
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: #29088
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions