mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
use outer_expn_data() instead of outer_expn().expn_data()
This commit is contained in:
parent
edeee915b1
commit
ed330c4463
@ -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(),
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user