diff options
author | Ryutaro Okada <1015ryu88@gmail.com> | 2025-03-30 09:28:41 -0700 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2025-03-31 14:55:15 +0000 |
commit | b8ef598308e7bd08fb40651bf4c17490ccbb855f (patch) | |
tree | 76981e7659378c46880f435710315ea88b1fe2a1 /gcc/rust/rust-gcc.cc | |
parent | 765121736dfe3f5b319bbe9837880deda326394e (diff) | |
download | gcc-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