mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Use TraitId in TraitRef
This commit is contained in:
parent
6560e4ff2e
commit
72d8e7e69a
6 changed files with 68 additions and 68 deletions
|
@ -741,7 +741,7 @@ impl Trait {
|
|||
}
|
||||
|
||||
pub fn trait_ref(self, db: &impl HirDatabase) -> TraitRef {
|
||||
TraitRef::for_trait(db, self)
|
||||
TraitRef::for_trait(db, self.id)
|
||||
}
|
||||
|
||||
pub fn is_auto(self, db: &impl DefDatabase) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue