mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
internal: Replace Display impl for Name
This commit is contained in:
parent
2f840c2236
commit
c7ef6c25b7
108 changed files with 1045 additions and 656 deletions
|
@ -76,7 +76,7 @@ pub(crate) fn expand_macro(db: &RootDatabase, position: FilePosition) -> Option<
|
|||
if let Some(item) = ast::Item::cast(node.clone()) {
|
||||
if let Some(def) = sema.resolve_attr_macro_call(&item) {
|
||||
break (
|
||||
def.name(db).to_string(),
|
||||
def.name(db).display(db).to_string(),
|
||||
expand_attr_macro_recur(&sema, &item)?,
|
||||
SyntaxKind::MACRO_ITEMS,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue