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:
commit
84bb764741
9 changed files with 164 additions and 276 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue