mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Move traits to the new loc
This commit is contained in:
parent
7b0644d81e
commit
82e9b24558
16 changed files with 70 additions and 35 deletions
|
@ -93,7 +93,7 @@ impl HasSource for Static {
|
|||
impl HasSource for Trait {
|
||||
type Ast = ast::TraitDef;
|
||||
fn source(self, db: &impl DefDatabase) -> InFile<ast::TraitDef> {
|
||||
self.id.source(db)
|
||||
self.id.lookup(db).source(db)
|
||||
}
|
||||
}
|
||||
impl HasSource for TypeAlias {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue