Skip to content

Commit 0215163

Browse files
committed
---
yaml --- r: 225903 b: refs/heads/stable c: 09ed27c h: refs/heads/master i: 225901: edd4033 225899: 6d3a090 225895: b343a31 225887: bb8968b v: v3
1 parent 1a930d9 commit 0215163

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ refs/heads/tmp: e5d90d98402475b6e154ce216f9efcb80da1a747
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: 1fe32ca12c51afcd761d9962f51a74ff0d07a591
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: ca72d7fe3fd2134f4b6b633f625929c4d30720f9
32+
refs/heads/stable: 09ed27c05ec8f936294ca6eba1adae35144b2460
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b

branches/stable/src/libsyntax/ext/base.rs

Lines changed: 0 additions & 2 deletions
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)