mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
Add Interner parameter to Binders::substitute
This commit is contained in:
parent
05eba0db3d
commit
30a339e038
14 changed files with 52 additions and 43 deletions
|
@ -72,7 +72,7 @@ fn direct_super_trait_refs(db: &dyn HirDatabase, trait_ref: &TraitRef) -> Vec<Tr
|
|||
_ => None,
|
||||
})
|
||||
})
|
||||
.map(|pred| pred.substitute(&trait_ref.substitution))
|
||||
.map(|pred| pred.substitute(&Interner, &trait_ref.substitution))
|
||||
.collect()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue