mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Remove unnecessary lifetimes from rustc_expand
.
This commit is contained in:
parent
65863c5e75
commit
7b613ed8d2
@ -43,9 +43,9 @@ pub struct BangProcMacro {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl base::BangProcMacro for BangProcMacro {
|
impl base::BangProcMacro for BangProcMacro {
|
||||||
fn expand<'cx>(
|
fn expand(
|
||||||
&self,
|
&self,
|
||||||
ecx: &'cx mut ExtCtxt<'_>,
|
ecx: &mut ExtCtxt<'_>,
|
||||||
span: Span,
|
span: Span,
|
||||||
input: TokenStream,
|
input: TokenStream,
|
||||||
) -> Result<TokenStream, ErrorGuaranteed> {
|
) -> Result<TokenStream, ErrorGuaranteed> {
|
||||||
@ -73,9 +73,9 @@ pub struct AttrProcMacro {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl base::AttrProcMacro for AttrProcMacro {
|
impl base::AttrProcMacro for AttrProcMacro {
|
||||||
fn expand<'cx>(
|
fn expand(
|
||||||
&self,
|
&self,
|
||||||
ecx: &'cx mut ExtCtxt<'_>,
|
ecx: &mut ExtCtxt<'_>,
|
||||||
span: Span,
|
span: Span,
|
||||||
annotation: TokenStream,
|
annotation: TokenStream,
|
||||||
annotated: TokenStream,
|
annotated: TokenStream,
|
||||||
|
Loading…
Reference in New Issue
Block a user