mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Rename MacroResolver -> Expander
This commit is contained in:
parent
b3175b7077
commit
8c8ef1432e
3 changed files with 25 additions and 29 deletions
|
@ -40,8 +40,8 @@ pub(crate) fn body_with_source_map_query(
|
|||
(src.file_id, src.ast.body())
|
||||
}
|
||||
};
|
||||
let resolver = hir_def::body::MacroResolver::new(db, file_id, def.module(db).id);
|
||||
let (body, source_map) = Body::new(db, resolver, params, body);
|
||||
let expander = hir_def::body::Expander::new(db, file_id, def.module(db).id);
|
||||
let (body, source_map) = Body::new(db, expander, params, body);
|
||||
(Arc::new(body), Arc::new(source_map))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue