mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
make AstId untyped
This commit is contained in:
parent
033a32f349
commit
549728bba8
11 changed files with 29 additions and 24 deletions
|
@ -34,7 +34,7 @@ impl ImplSourceMap {
|
|||
ModuleSource::Module(m) => m.syntax().ancestors().find_map(SourceFile::cast).unwrap(),
|
||||
};
|
||||
|
||||
self.map[impl_id].to_node(file).to_owned()
|
||||
self.map[impl_id].to_node(file.syntax()).to_owned()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue