aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-gcc.cc
diff options
context:
space:
mode:
authorRyutaro Okada <1015ryu88@gmail.com>2025-03-30 09:28:41 -0700
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2025-03-31 14:55:15 +0000
commitb8ef598308e7bd08fb40651bf4c17490ccbb855f (patch)
tree76981e7659378c46880f435710315ea88b1fe2a1 /gcc/rust/rust-gcc.cc
parent765121736dfe3f5b319bbe9837880deda326394e (diff)
downloadgcc-b8ef598308e7bd08fb40651bf4c17490ccbb855f.zip
gcc-b8ef598308e7bd08fb40651bf4c17490ccbb855f.tar.gz
gcc-b8ef598308e7bd08fb40651bf4c17490ccbb855f.tar.bz2
Evaluate the enum's discriminant in a const context
gcc/rust/ChangeLog: * backend/rust-compile-resolve-path.cc: Evaluate the enum's discriminant in a const context gcc/testsuite/ChangeLog: * rust/compile/enum_discriminant1.rs: New test. Signed-off-by: Ryutaro Okada <1015ryu88@gmail.com>
Diffstat (limited to 'gcc/rust/rust-gcc.cc')
0 files changed, 0 insertions, 0 deletions