aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/expand/rust-macro-builtins.cc
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2023-02-02 15:32:17 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2023-02-03 11:50:00 +0100
commit38bad2bf21ef0649b3e89bcccfe7e8f7c366de68 (patch)
treefb72a0b4c247dd653648b1a32ba146d8970ba781 /gcc/rust/expand/rust-macro-builtins.cc
parent776c4247de465dd93438a738fff48d5b2076ec11 (diff)
downloadgcc-38bad2bf21ef0649b3e89bcccfe7e8f7c366de68.zip
gcc-38bad2bf21ef0649b3e89bcccfe7e8f7c366de68.tar.gz
gcc-38bad2bf21ef0649b3e89bcccfe7e8f7c366de68.tar.bz2
parser: Fix parsing of closure param list
gcc/rust/ChangeLog: * parse/rust-parse-impl.h (Parser::parse_closure_expr): Advance tokens properly when parsing closure param list. gcc/testsuite/ChangeLog: * rust/compile/closure_move_expr.rs: New test.
Diffstat (limited to 'gcc/rust/expand/rust-macro-builtins.cc')
0 files changed, 0 insertions, 0 deletions