mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Generalize Owned nodes
This commit is contained in:
parent
21797bf0ef
commit
a5301e94d5
6 changed files with 1249 additions and 1818 deletions
|
@ -236,7 +236,7 @@ impl AnalysisImpl {
|
|||
let link = module_id.parent_link(&module_tree)?;
|
||||
let file_id = link.owner(&module_tree).source(&module_tree).file_id();
|
||||
let decl = link.bind_source(&module_tree, &*self.db);
|
||||
let decl = decl.ast();
|
||||
let decl = decl.borrowed();
|
||||
|
||||
let decl_name = decl.name().unwrap();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue