mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +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
|
@ -577,7 +577,7 @@ pub struct Trait {
|
|||
|
||||
impl Trait {
|
||||
pub fn module(self, db: &impl DefDatabase) -> Module {
|
||||
Module { id: self.id.module(db) }
|
||||
Module { id: self.id.lookup(db).container }
|
||||
}
|
||||
|
||||
pub fn name(self, db: &impl DefDatabase) -> Name {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue