aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir
diff options
context:
space:
mode:
authorZhi Heng <yapzhhg@gmail.com>2025-04-03 20:23:46 +0800
committerPhilip Herron <philip.herron@embecosm.com>2025-04-16 11:03:05 +0000
commit2c109a2e8a97980b293edb7dc3609556473c7f3d (patch)
tree62d1c09ecbc9b8c34a9375f56bf7aa155896e33f /gcc/rust/hir
parent5ac41dce35b947f5d1f904b39958ebf6f1b538cf (diff)
downloadgcc-2c109a2e8a97980b293edb7dc3609556473c7f3d.zip
gcc-2c109a2e8a97980b293edb7dc3609556473c7f3d.tar.gz
gcc-2c109a2e8a97980b293edb7dc3609556473c7f3d.tar.bz2
gccrs: Implement typecheck for zero-variant enums
gcc/rust/ChangeLog: * typecheck/rust-tyty.h: Add new `ReprKind` enum to `ReprOptions`. * typecheck/rust-hir-type-check-base.cc: Handle setting of `repr_kind`. * typecheck/rust-hir-type-check-item.cc: New check for zero-variant enums. Signed-off-by: Yap Zhi Heng <yapzhhg@gmail.com>
Diffstat (limited to 'gcc/rust/hir')
0 files changed, 0 insertions, 0 deletions