diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2024-02-12 18:20:19 -0500 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2024-02-13 15:08:02 +0000 |
commit | a4716752fbb9eb7a06d408c98de42a2aec944713 (patch) | |
tree | d6edca3476cbb9bc69e448bda84b94adfb5f14de /gcc/rust/backend/rust-compile-pattern.h | |
parent | 50f8ca9800442165bddc142051c08b9394768dd4 (diff) | |
download | gcc-a4716752fbb9eb7a06d408c98de42a2aec944713.zip gcc-a4716752fbb9eb7a06d408c98de42a2aec944713.tar.gz gcc-a4716752fbb9eb7a06d408c98de42a2aec944713.tar.bz2 |
Fix lookup of TuplePattern sub-pattern types
gcc/rust/ChangeLog:
* backend/rust-compile-pattern.cc
(CompilePatternLet::visit):
Lookup type of sub-pattern, not tuple pattern itself.
gcc/testsuite/ChangeLog:
* rust/compile/issue-2847-b.rs: New test.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-pattern.h')
0 files changed, 0 insertions, 0 deletions