mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-23 03:27:40 +00:00
resolve: Do not finalize shadowed bindings I.e. do not mark them as used, or non-speculatively loaded, or similar. Previously they were sometimes finalized during early resolution, causing issues like https://github.com/rust-lang/rust/pull/144793#issuecomment-3168108005.