Skip to content

Commit

Permalink
use outer_expn_data() instead of outer_expn().expn_data()
Browse files Browse the repository at this point in the history
  • Loading branch information
klensy committed Mar 2, 2021
1 parent edeee91 commit ed330c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_resolve/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1422,7 +1422,7 @@ impl<'a> Resolver<'a> {

fn macro_def(&self, mut ctxt: SyntaxContext) -> DefId {
loop {
match ctxt.outer_expn().expn_data().macro_def_id {
match ctxt.outer_expn_data().macro_def_id {
Some(def_id) => return def_id,
None => ctxt.remove_mark(),
};
Expand Down

0 comments on commit ed330c4

Please sign in to comment.