mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Finalize impl Grammar
This commit is contained in:
parent
c83467796b
commit
c5798c4d75
54 changed files with 103 additions and 100 deletions
|
@ -120,8 +120,8 @@ impl HasSource for MacroDef {
|
|||
}
|
||||
}
|
||||
impl HasSource for ImplDef {
|
||||
type Ast = ast::ImplDef;
|
||||
fn source(self, db: &dyn HirDatabase) -> InFile<ast::ImplDef> {
|
||||
type Ast = ast::Impl;
|
||||
fn source(self, db: &dyn HirDatabase) -> InFile<ast::Impl> {
|
||||
self.id.lookup(db.upcast()).source(db.upcast())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue