diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2025-03-24 18:31:12 +0100 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2025-03-27 17:29:15 +0000 |
commit | 9c4e2a7814fcf8889258e028a4c0d4cdc960f6b9 (patch) | |
tree | ac17ba9164dd4f1a601d71890da3b459224f880e /gcc/tree-stdarg.cc | |
parent | 29cace33c167fd22cf91f3f2f982e70f082db69f (diff) | |
download | gcc-9c4e2a7814fcf8889258e028a4c0d4cdc960f6b9.zip gcc-9c4e2a7814fcf8889258e028a4c0d4cdc960f6b9.tar.gz gcc-9c4e2a7814fcf8889258e028a4c0d4cdc960f6b9.tar.bz2 |
Resolve module final self segment in use decls
Lowercase self suffix with path was not resolved properly, this should
point to the module right before.
gcc/rust/ChangeLog:
* resolve/rust-forever-stack.hxx: Add a new specialized function
to retrieve the last "real" segment depending on the namespace.
* resolve/rust-forever-stack.h: Add new function prototype.
* resolve/rust-early-name-resolver-2.0.cc (Early::finalize_rebind_import):
Set declared name according to the selected segment, if there is a self
suffix in the use declaration then select the previous segment.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/tree-stdarg.cc')
0 files changed, 0 insertions, 0 deletions