aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-03-27 15:41:47 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:28:42 +0100
commit7adb5516b5825816ff1883c23d1ee33982043fcc (patch)
treed2ec5f08b705d35f367386cff36312cbac594bd4 /gcc/rust/ast
parentecbbfce5c566526b0e1eab5c9b9b1676c7dc450f (diff)
downloadgcc-7adb5516b5825816ff1883c23d1ee33982043fcc.zip
gcc-7adb5516b5825816ff1883c23d1ee33982043fcc.tar.gz
gcc-7adb5516b5825816ff1883c23d1ee33982043fcc.tar.bz2
gccrs: 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/ast')
0 files changed, 0 insertions, 0 deletions