Skip to content

Commit fd7d4dd

Browse files
nagisabrson
authored andcommitted
Remove superfluous variable
1 parent a030da8 commit fd7d4dd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/libsyntax/ext/base.rs

-2
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,6 @@ impl<'a> ExtCtxt<'a> {
681681
pub fn expansion_cause(&self) -> Span {
682682
let mut expn_id = self.backtrace;
683683
let mut last_macro = None;
684-
let mut current_expn = None;
685684
loop {
686685
if self.codemap().with_expn_info(expn_id, |info| {
687686
info.map_or(None, |i| {
@@ -690,7 +689,6 @@ impl<'a> ExtCtxt<'a> {
690689
return None;
691690
}
692691
expn_id = i.call_site.expn_id;
693-
current_expn = Some(i.call_site);
694692
if i.callee.format != CompilerExpansion {
695693
last_macro = Some(i.call_site)
696694
}

0 commit comments

Comments
 (0)