diff options
author | goar5670 <mahadelr19@gmail.com> | 2023-03-02 21:34:44 +0300 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:19:02 +0100 |
commit | 24ce9baa6d9460752174db5577a751ea1964ad04 (patch) | |
tree | 113e44e65a3d9ebfd707cfb629768276503c0124 /gcc/rust/hir/tree/rust-hir.h | |
parent | e6ff2bcc3a6107ecbef6e744c42f5e9b1b007dbe (diff) | |
download | gcc-24ce9baa6d9460752174db5577a751ea1964ad04.zip gcc-24ce9baa6d9460752174db5577a751ea1964ad04.tar.gz gcc-24ce9baa6d9460752174db5577a751ea1964ad04.tar.bz2 |
gccrs: parser: Fix parsing closure parameter
gcc/rust/ChangeLog:
* parse/rust-parse-impl.h (Parser::parse_closure_param):
Replace parse_pattern with parse_pattern_no_alt.
gcc/testsuite/ChangeLog:
* rust/compile/closure_no_type_anno.rs: New test.
Signed-off-by: Mahmoud Mohamed <mahadelr19@gmail.com>
Diffstat (limited to 'gcc/rust/hir/tree/rust-hir.h')
0 files changed, 0 insertions, 0 deletions