aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-resolve-path.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2025-03-05 11:56:49 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-24 13:07:17 +0100
commit604ab7aa6465500a827db7292aa952b9c88bdec3 (patch)
treeaa127ab1907b46892ef2b3e16a43a21427bcb657 /gcc/rust/backend/rust-compile-resolve-path.h
parente5ed88455831e12e8f09ec4e6f3b3c12253e6f57 (diff)
downloadgcc-604ab7aa6465500a827db7292aa952b9c88bdec3.zip
gcc-604ab7aa6465500a827db7292aa952b9c88bdec3.tar.gz
gcc-604ab7aa6465500a827db7292aa952b9c88bdec3.tar.bz2
gccrs: Add a test for enum variant name resolution
Highlight the fact that a value inside an enum definition refers to a struct outside of the enum and not to the enum variant's name directly. gcc/testsuite/ChangeLog: * rust/compile/enum_variant_name.rs: New test. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.h')
0 files changed, 0 insertions, 0 deletions