Landing: c9112a01f3c7

Project / Subsystem

gcc / gccrs

Date

2026-07-16

Author

Owen Avery

Commit

c9112a01f3c71e3535b2e3a5935cd67d14f5d58a

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
—
commit_hash
c9112a01f3c71e3535b2e3a5935cd67d14f5d58a
source_type
github
headline
Fix glob imports in use declarations and remove dead code
tldr
Resolves issues with multiple glob imports in Rust use declarations and cleans up unused compiler code.
author
Owen Avery
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • gccrs
  • • rust
  • • resolver
discussion_id_link
—
bugzilla_pr
—
date
2026-07-16T00:00:00.000Z

This commit fixes a bug where glob imports appearing after other imports in a Rust use declaration were not handled correctly. It also removes some dead code found in the flatten function within the compiler’s Rust front-end. A new test case is added to verify the fix for glob imports.