modify insert_type_vars for lifetimes

This commit is contained in:
dfireBird 2024-03-19 10:14:45 +05:30
parent 13301e7a1a
commit b357bcab2b
No known key found for this signature in database
GPG key ID: 26D522CA5FC2B93D
5 changed files with 73 additions and 14 deletions

View file

@ -1855,8 +1855,7 @@ impl InferenceContext<'_> {
DebruijnIndex::INNERMOST,
)
},
// FIXME: create make_lifetimes and infer lifetimes
|_, _| static_lifetime(),
|this, lt_ref| this.make_lifetime(lt_ref),
) {
substs.push(g);
}