aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/tree/rust-hir.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-03-01 14:13:01 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:19:01 +0100
commitd34922c496430cfbfa855f59d45f15de852c2316 (patch)
treea0edb1ae3e538cf376352fb5d3268801659d4481 /gcc/rust/hir/tree/rust-hir.h
parent4db1970abbfd503495f8711c6846ed3d68b2e818 (diff)
downloadgcc-d34922c496430cfbfa855f59d45f15de852c2316.zip
gcc-d34922c496430cfbfa855f59d45f15de852c2316.tar.gz
gcc-d34922c496430cfbfa855f59d45f15de852c2316.tar.bz2
gccrs: parser: Fix if let parsing
Fix if let parsing in null_notation function. This problem was due to the current token already being passed in the function parameters and already out of the buffered queue. Hence why the peeked token was let and not if. gcc/rust/ChangeLog: * parse/rust-parse-impl.h (Parser::null_denotation): Fix if let parsing. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/hir/tree/rust-hir.h')
0 files changed, 0 insertions, 0 deletions