Auto merge of #125105 - nnethercote:rustc_resolve-cleanups, r=estebank

`rustc_resolve` cleanups

Some improvements I found while looking through this code.

r? `@estebank`
This commit is contained in:
bors
2024-05-18 06:36:44 +00:00
18 changed files with 41 additions and 93 deletions

View File

@@ -32,6 +32,8 @@ use rustc_span::Span;
use std::cell::Cell;
use tracing::debug;
type Res = def::Res<NodeId>;
impl<'a, Id: Into<DefId>> ToNameBinding<'a>