Rollup merge of #151694 - cyrgani:more-pm-cleanup, r=petrochenkov

more `proc_macro` bridge cleanups

Some followups made possible by rust-lang/rust#151505.
This commit is contained in:
Jonathan Brouwer 2026-01-27 17:00:53 +01:00 committed by GitHub
commit 84bb764741
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 164 additions and 276 deletions

View file

@ -458,13 +458,11 @@ impl<'a, 'b> Rustc<'a, 'b> {
}
}
impl server::Types for Rustc<'_, '_> {
impl server::Server for Rustc<'_, '_> {
type TokenStream = TokenStream;
type Span = Span;
type Symbol = Symbol;
}
impl server::Server for Rustc<'_, '_> {
fn globals(&mut self) -> ExpnGlobals<Self::Span> {
ExpnGlobals {
def_site: self.def_site,