aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-expr.cc
diff options
context:
space:
mode:
authorMahmoud Mohamed <mahadelr19@gmail.com>2023-03-16 14:53:44 +0300
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:21:12 +0100
commitf821a019e624555397b539e864cc145057922a63 (patch)
treed5b27edc330ddae40b5d1003b6a6eee75ed27dab /gcc/rust/backend/rust-compile-expr.cc
parentdc92981d06a8695bf589a1fcfda427a38265ebee (diff)
downloadgcc-f821a019e624555397b539e864cc145057922a63.zip
gcc-f821a019e624555397b539e864cc145057922a63.tar.gz
gcc-f821a019e624555397b539e864cc145057922a63.tar.bz2
gccrs: 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.cc')
0 files changed, 0 insertions, 0 deletions