aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/util/rust-attribute-values.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2024-01-24 17:04:51 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2024-08-01 16:52:27 +0200
commit97539b7c20eb08d5b6532016654ecc6ba6c9a09f (patch)
treee7244bfa81b1dde494018e35b229825faf0c1102 /gcc/rust/util/rust-attribute-values.h
parentf5da34385410e966a8d517fe2425fcbbdad5617d (diff)
downloadgcc-97539b7c20eb08d5b6532016654ecc6ba6c9a09f.zip
gcc-97539b7c20eb08d5b6532016654ecc6ba6c9a09f.tar.gz
gcc-97539b7c20eb08d5b6532016654ecc6ba6c9a09f.tar.bz2
gccrs: Unit struct constructor shall be resolved
Unit struct have a special constructor that should be added to the struct namespace in order to be resolved later when called. As it is a function it should be added in the value namespace. gcc/rust/ChangeLog: * resolve/rust-toplevel-name-resolver-2.0.cc (GlobbingVisitor::visit): Add the struct constructor when the struct is a unit. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/util/rust-attribute-values.h')
0 files changed, 0 insertions, 0 deletions