Skip to content

Commit 9d15b6f

Browse files
committed
fix rebase
1 parent 7604eed commit 9d15b6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/traits/error_reporting.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
995995
"it looks like you forgot to use parentheses to \
996996
call the function: `{}({})`",
997997
ident,
998-
body.arguments.iter()
998+
body.params.iter()
999999
.map(|arg| match &arg.pat.node {
10001000
hir::PatKind::Binding(_, _, ident, None)
10011001
if ident.name != kw::SelfLower => ident.to_string(),

0 commit comments

Comments
 (0)