mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-21 22:34:05 +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 {
|
||||
fn expand<'cx>(
|
||||
fn expand(
|
||||
&self,
|
||||
ecx: &'cx mut ExtCtxt<'_>,
|
||||
ecx: &mut ExtCtxt<'_>,
|
||||
span: Span,
|
||||
input: TokenStream,
|
||||
) -> Result<TokenStream, ErrorGuaranteed> {
|
||||
@ -73,9 +73,9 @@ pub struct AttrProcMacro {
|
||||
}
|
||||
|
||||
impl base::AttrProcMacro for AttrProcMacro {
|
||||
fn expand<'cx>(
|
||||
fn expand(
|
||||
&self,
|
||||
ecx: &'cx mut ExtCtxt<'_>,
|
||||
ecx: &mut ExtCtxt<'_>,
|
||||
span: Span,
|
||||
annotation: TokenStream,
|
||||
annotated: TokenStream,
|
||||
|
Loading…
Reference in New Issue
Block a user