Rename intern_macro -> intern_macro_call

This commit is contained in:
Lukas Wirth 2021-11-14 16:25:40 +01:00
parent 2d7f5891f7
commit 5c0b895f69
10 changed files with 32 additions and 32 deletions

View file

@ -842,7 +842,7 @@ impl<'db> SemanticsImpl<'db> {
fn resolve_attr_macro_call(&self, item: &ast::Item) -> Option<MacroDef> {
let item_in_file = self.find_file(item.syntax().clone()).with_value(item.clone());
let macro_call_id = self.with_ctx(|ctx| ctx.item_to_macro_call(item_in_file))?;
Some(MacroDef { id: self.db.lookup_intern_macro(macro_call_id).def })
Some(MacroDef { id: self.db.lookup_intern_macro_call(macro_call_id).def })
}
fn resolve_path(&self, path: &ast::Path) -> Option<PathResolution> {