Landing: f6f08ee65896

Project / Subsystem

gcc / gccrs

Date

2026-08-03

Author

Enes Cevik

Commit

f6f08ee6589604b2661d006d7b9fa7343afd759f

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
f6f08ee6589604b2661d006d7b9fa7343afd759f
source_type
github
headline
gccrs: Fix ignored self in grouped glob imports
tldr
Resolves an issue where `self` imports were ignored in grouped glob imports in gccrs.
author
Enes Cevik
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • rust
  • • import
  • • name resolution
discussion_id_link
—
bugzilla_pr
—
date
2026-08-03T00:00:00.000Z

This patch corrects an issue in gccrs where grouped imports combining self with a glob pattern (e.g., use path::module::{self, *};) failed to import the base module itself. The fix ensures that self imports are assigned unique NodeIds, preventing them from being inadvertently dropped during the name resolution process. This resolves a bug where inner items were imported via the glob, but the module itself was not.