diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2024-02-12 18:20:19 -0500 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-02-21 13:51:26 +0100 |
commit | cdd76382414191134e0dabcc2c9f66f1df5472e7 (patch) | |
tree | 51c6fdc816fd769fbb966ee5f3c5434a2d403c05 /gcc/rust/util/make-rust-unicode.py | |
parent | d7dde4ba49da7947d800fd7ab8e5a0e747073ead (diff) | |
download | gcc-cdd76382414191134e0dabcc2c9f66f1df5472e7.zip gcc-cdd76382414191134e0dabcc2c9f66f1df5472e7.tar.gz gcc-cdd76382414191134e0dabcc2c9f66f1df5472e7.tar.bz2 |
gccrs: 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/util/make-rust-unicode.py')
0 files changed, 0 insertions, 0 deletions