Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-def/src/expr_store/lower/path.rs')
| -rw-r--r-- | crates/hir-def/src/expr_store/lower/path.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/hir-def/src/expr_store/lower/path.rs b/crates/hir-def/src/expr_store/lower/path.rs index 36b3d11d75..14b0d3abd4 100644 --- a/crates/hir-def/src/expr_store/lower/path.rs +++ b/crates/hir-def/src/expr_store/lower/path.rs @@ -152,10 +152,8 @@ pub(super) fn lower_path( args: iter::once(self_type) .chain(it.args.iter().cloned()) .collect(), - has_self_type: true, - bindings: it.bindings.clone(), - parenthesized: it.parenthesized, + ..it }, None => GenericArgs { args: Box::new([self_type]), |