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

@@ -30,6 +30,7 @@ use rustc_span::source_map::{respan, Spanned};
use rustc_span::symbol::{kw, sym, Ident, Symbol};
use rustc_span::{BytePos, Span, SyntaxContext};
use smallvec::{smallvec, SmallVec};
use tracing::{debug, instrument, trace};
use std::assert_matches::debug_assert_matches;
use std::borrow::Cow;