Skip to content

Commit f8fded6

Browse files
committed
Fix rustc < 1.47 build
1 parent eb4bdf1 commit f8fded6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/receiver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ impl ReplaceSelf {
9393
if modified {
9494
*ident = Ident::new("__self", ident.span());
9595
#[cfg(self_span_hack)]
96-
i.set_span(self.1);
96+
ident.set_span(self.0);
9797
}
9898
modified
9999
}

0 commit comments

Comments
 (0)