mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 11:59:49 +00:00
Binders::subst -> substitute
This commit is contained in:
parent
ad20f00844
commit
05eba0db3d
14 changed files with 39 additions and 39 deletions
|
@ -339,7 +339,7 @@ impl SourceAnalyzer {
|
|||
.into_iter()
|
||||
.map(|local_id| {
|
||||
let field = FieldId { parent: variant, local_id };
|
||||
let ty = field_types[local_id].clone().subst(substs);
|
||||
let ty = field_types[local_id].clone().substitute(substs);
|
||||
(field.into(), Type::new_with_resolver_inner(db, krate, &self.resolver, ty))
|
||||
})
|
||||
.collect()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue