mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Rename intern_macro -> intern_macro_call
This commit is contained in:
parent
2d7f5891f7
commit
5c0b895f69
10 changed files with 32 additions and 32 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue