Skip to content

Commit 7b613ed

Browse files
committed
Remove unnecessary lifetimes from rustc_expand.
1 parent 65863c5 commit 7b613ed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

compiler/rustc_expand/src/proc_macro.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ pub struct BangProcMacro {
4343
}
4444

4545
impl base::BangProcMacro for BangProcMacro {
46-
fn expand<'cx>(
46+
fn expand(
4747
&self,
48-
ecx: &'cx mut ExtCtxt<'_>,
48+
ecx: &mut ExtCtxt<'_>,
4949
span: Span,
5050
input: TokenStream,
5151
) -> Result<TokenStream, ErrorGuaranteed> {
@@ -73,9 +73,9 @@ pub struct AttrProcMacro {
7373
}
7474

7575
impl base::AttrProcMacro for AttrProcMacro {
76-
fn expand<'cx>(
76+
fn expand(
7777
&self,
78-
ecx: &'cx mut ExtCtxt<'_>,
78+
ecx: &mut ExtCtxt<'_>,
7979
span: Span,
8080
annotation: TokenStream,
8181
annotated: TokenStream,

0 commit comments

Comments
 (0)