Skip to content

Commit ed330c4

Browse files
committed
use outer_expn_data() instead of outer_expn().expn_data()
1 parent edeee91 commit ed330c4

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_resolve/src

1 file changed

+1
-1
lines changed

compiler/rustc_resolve/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1422,7 +1422,7 @@ impl<'a> Resolver<'a> {
14221422

14231423
fn macro_def(&self, mut ctxt: SyntaxContext) -> DefId {
14241424
loop {
1425-
match ctxt.outer_expn().expn_data().macro_def_id {
1425+
match ctxt.outer_expn_data().macro_def_id {
14261426
Some(def_id) => return def_id,
14271427
None => ctxt.remove_mark(),
14281428
};

0 commit comments

Comments
 (0)