mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Rename ast::ImplBlock -> ast::ImplDef
This commit is contained in:
parent
f316e074d2
commit
a1e1869554
68 changed files with 216 additions and 224 deletions
|
@ -9,7 +9,7 @@ use hir_def::{
|
|||
use ra_syntax::ast;
|
||||
|
||||
use crate::{
|
||||
db::DefDatabase, Const, Enum, EnumVariant, FieldSource, Function, ImplBlock, MacroDef, Module,
|
||||
db::DefDatabase, Const, Enum, EnumVariant, FieldSource, Function, ImplDef, MacroDef, Module,
|
||||
Static, Struct, StructField, Trait, TypeAlias, TypeParam, Union,
|
||||
};
|
||||
|
||||
|
@ -111,9 +111,9 @@ impl HasSource for MacroDef {
|
|||
}
|
||||
}
|
||||
}
|
||||
impl HasSource for ImplBlock {
|
||||
type Ast = ast::ImplBlock;
|
||||
fn source(self, db: &impl DefDatabase) -> InFile<ast::ImplBlock> {
|
||||
impl HasSource for ImplDef {
|
||||
type Ast = ast::ImplDef;
|
||||
fn source(self, db: &impl DefDatabase) -> InFile<ast::ImplDef> {
|
||||
self.id.lookup(db).source(db)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue