diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-03-27 15:41:47 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-03-30 16:48:28 +0200 |
commit | 816ed80ab7c02cf05cdb1e811f230fe25ea9d413 (patch) | |
tree | 0020a8c76da34ccea48877ab822eaf55b6936a32 /gcc/rust/resolve/rust-ast-resolve-item.cc | |
parent | 848bd4dfeb116f6cb029ccb44735c4c905ca46ca (diff) | |
download | gcc-816ed80ab7c02cf05cdb1e811f230fe25ea9d413.zip gcc-816ed80ab7c02cf05cdb1e811f230fe25ea9d413.tar.gz gcc-816ed80ab7c02cf05cdb1e811f230fe25ea9d413.tar.bz2 |
token: Add type hints to string dump
The conversion to string of any known type literal was not giving back
any type hint, not even quotes for string. This commit fix this.
gcc/rust/ChangeLog:
* lex/rust-token.cc (Token::as_string): Add type hint output.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-item.cc')
0 files changed, 0 insertions, 0 deletions