fix rebase

This commit is contained in:
Esteban Küber 2019-08-31 00:15:52 -07:00
parent 7604eed2a9
commit 9d15b6fb95

View File

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