Skip to content

Commit b563201

Browse files
committed
---
yaml --- r: 227565 b: refs/heads/try c: 09ed27c h: refs/heads/master i: 227563: f386041 v: v3
1 parent 191cc96 commit b563201

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
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: aca2057ed5fb7af3f8905b2bc01f72fa001c35c8
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4-
refs/heads/try: ca72d7fe3fd2134f4b6b633f625929c4d30720f9
4+
refs/heads/try: 09ed27c05ec8f936294ca6eba1adae35144b2460
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/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)