mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
Shrink MacroCallLoc
This commit is contained in:
parent
87e0bbc534
commit
abe3177445
7 changed files with 69 additions and 45 deletions
|
@ -745,6 +745,7 @@ impl<'a> AssocItemCollector<'a> {
|
|||
self.collect_macro_items(res, &|| hir_expand::MacroCallKind::FnLike {
|
||||
ast_id: InFile::new(file_id, ast_id),
|
||||
expand_to: hir_expand::ExpandTo::Items,
|
||||
eager: None,
|
||||
});
|
||||
}
|
||||
Ok(None) => (),
|
||||
|
@ -754,6 +755,7 @@ impl<'a> AssocItemCollector<'a> {
|
|||
MacroCallKind::FnLike {
|
||||
ast_id: InFile::new(file_id, ast_id),
|
||||
expand_to,
|
||||
eager: None,
|
||||
},
|
||||
Clone::clone(path),
|
||||
));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue