use outer_expn_data() instead of outer_expn().expn_data()

This commit is contained in:
klensy 2021-03-02 22:01:29 +03:00
parent edeee915b1
commit ed330c4463

View File

@ -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(),
};