diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-02-17 14:24:07 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:13:35 +0100 |
commit | 2a09401099a5fd95ef6a1f6550aae3fd2a8a9e13 (patch) | |
tree | a7ed879f7f94577373fe5a7daa91b4c4f1f90b06 /gcc/tree-loop-distribution.cc | |
parent | 60b6cc1676eb3a4118dc3302f20fbfe573054d51 (diff) | |
download | gcc-2a09401099a5fd95ef6a1f6550aae3fd2a8a9e13.zip gcc-2a09401099a5fd95ef6a1f6550aae3fd2a8a9e13.tar.gz gcc-2a09401099a5fd95ef6a1f6550aae3fd2a8a9e13.tar.bz2 |
gccrs: 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/tree-loop-distribution.cc')
0 files changed, 0 insertions, 0 deletions