mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
modify insert_type_vars
for lifetimes
This commit is contained in:
parent
13301e7a1a
commit
b357bcab2b
5 changed files with 73 additions and 14 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue