From 69714d36e6617800f3edea174f5d6f76c985ad4c Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Mon, 5 Apr 2021 17:13:50 +0200 Subject: Hide Binders internals more --- crates/hir_ty/src/diagnostics/expr.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crates/hir_ty/src/diagnostics/expr.rs') diff --git a/crates/hir_ty/src/diagnostics/expr.rs b/crates/hir_ty/src/diagnostics/expr.rs index 8169b759f..db278d0db 100644 --- a/crates/hir_ty/src/diagnostics/expr.rs +++ b/crates/hir_ty/src/diagnostics/expr.rs @@ -245,7 +245,8 @@ impl<'a, 'b> ExprValidator<'a, 'b> { Some(callee) => callee, None => return, }; - let sig = db.callable_item_signature(callee.into()).value; + let sig = + db.callable_item_signature(callee.into()).into_value_and_skipped_binders().0; (sig, args) } -- cgit v1.2.3