diff options
author | Mahmoud Mohamed <mahadelr19@gmail.com> | 2023-03-16 14:53:44 +0300 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-03-17 16:30:46 +0000 |
commit | dd4038083ef08ce8e8456261389d4b26f5dd7ace (patch) | |
tree | eaafb2d60f06131687e1d82731347e03d230e15a /gcc/rust/backend/rust-compile-expr.h | |
parent | 7334fb00e9cf2c8adfe2a197087652f5af451614 (diff) | |
download | gcc-dd4038083ef08ce8e8456261389d4b26f5dd7ace.zip gcc-dd4038083ef08ce8e8456261389d4b26f5dd7ace.tar.gz gcc-dd4038083ef08ce8e8456261389d4b26f5dd7ace.tar.bz2 |
resolve: Fix multiple bindings handling in match
gcc/rust/ChangeLog:
* resolve/rust-ast-resolve-expr.cc (ResolveExpr::visit):
Push a Product context instead of an Or context.
gcc/testsuite/ChangeLog:
* rust/compile/multiple_bindings2.rs: New test.
Signed-off-by: Mahmoud Mohamed <mahadelr19@gmail.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.h')
0 files changed, 0 insertions, 0 deletions