mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 01:42:54 +03:00
1b9ae9eddc
resolve: Factor out and document the glob binding overwriting logic Also, avoid creating fresh name declarations and overwriting declarations in modules to update some fields in `DeclData`, when possible. Instead, change the fields directly in `DeclData` using cells. Unblocks https://github.com/rust-lang/rust/pull/149195.