aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2023-02-17 14:24:07 +0100
committerCohenArthur <arthur.cohen@embecosm.com>2023-02-20 12:52:12 +0000
commit87e7c9dedacd4d12636e6c626aab14bcecf686f2 (patch)
treea59726e8366764f7f6002c0e1ca8364a1b4d342f /gcc/rust/backend
parent57b64a64261ed1d1774af61a1e36eeac604abcde (diff)
downloadgcc-87e7c9dedacd4d12636e6c626aab14bcecf686f2.zip
gcc-87e7c9dedacd4d12636e6c626aab14bcecf686f2.tar.gz
gcc-87e7c9dedacd4d12636e6c626aab14bcecf686f2.tar.bz2
parser: Allow `LEFT_SHIFT` to start `parse_type`
Similarly to the last commit, we need to allow `LEFT_SHIFT` tokens to start a qualified path type and split them into two `LEFT_ANGLE` tokens. gcc/rust/ChangeLog: * parse/rust-parse-impl.h (Parser::parse_type): Allow LEFT_SHIFT to start a type and then split it in `parse_qualified_path_type` gcc/testsuite/ChangeLog: * rust/compile/parse_associated_type_as_generic_arg3.rs: New test.
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions