File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: ca72d7fe3fd2134f4b6b633f625929c4d30720f9
2
+ refs/heads/master: 09ed27c05ec8f936294ca6eba1adae35144b2460
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5
5
refs/heads/try: 1864973ae17213c5a58c4dd3f9af6d1b6c7d2e05
Original file line number Diff line number Diff line change @@ -681,7 +681,6 @@ impl<'a> ExtCtxt<'a> {
681
681
pub fn expansion_cause ( & self ) -> Span {
682
682
let mut expn_id = self . backtrace ;
683
683
let mut last_macro = None ;
684
- let mut current_expn = None ;
685
684
loop {
686
685
if self . codemap ( ) . with_expn_info ( expn_id, |info| {
687
686
info. map_or ( None , |i| {
@@ -690,7 +689,6 @@ impl<'a> ExtCtxt<'a> {
690
689
return None ;
691
690
}
692
691
expn_id = i. call_site . expn_id ;
693
- current_expn = Some ( i. call_site ) ;
694
692
if i. callee . format != CompilerExpansion {
695
693
last_macro = Some ( i. call_site )
696
694
}
You can’t perform that action at this time.
0 commit comments