diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-12-24 11:45:09 +0000 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-24 13:06:53 +0100 |
commit | 561ef90a3649a12a82b2312d0559d6f4de0a4db8 (patch) | |
tree | 6a9e6fb42c2c5b9664b170605df84431308381e6 /gcc/rust/backend/rust-compile-item.h | |
parent | 23a3ec61f6defea5bae6c35d8042b335e6e32dfc (diff) | |
download | gcc-561ef90a3649a12a82b2312d0559d6f4de0a4db8.zip gcc-561ef90a3649a12a82b2312d0559d6f4de0a4db8.tar.gz gcc-561ef90a3649a12a82b2312d0559d6f4de0a4db8.tar.bz2 |
gccrs: backend: Allow anything as a match scrutinee
gcc/rust/ChangeLog:
* backend/rust-compile-expr.cc (check_match_scrutinee): Allow anything to be used as a
match scrutinee, not just ADTs.
Diffstat (limited to 'gcc/rust/backend/rust-compile-item.h')
0 files changed, 0 insertions, 0 deletions