diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2024-01-24 17:04:51 +0100 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2024-03-26 17:35:02 +0000 |
commit | e19483da430ccd1da3a08dd1cebb87b425898720 (patch) | |
tree | bb21777f6fa178dcd02f1f227996e4caf434eb21 /gcc/builtins.cc | |
parent | 7bd829ea8c469192db1992d55d975dbcde149617 (diff) | |
download | gcc-e19483da430ccd1da3a08dd1cebb87b425898720.zip gcc-e19483da430ccd1da3a08dd1cebb87b425898720.tar.gz gcc-e19483da430ccd1da3a08dd1cebb87b425898720.tar.bz2 |
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/builtins.cc')
0 files changed, 0 insertions, 0 deletions