about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-08-31 00:15:52 -0700
committerEsteban Küber <esteban@kuber.com.ar>2019-08-31 00:15:52 -0700
commit9d15b6fb95d7aed3bcadaadaf0516c4733c4f439 (patch)
treec1a7775bde7c4297a8e5c3b7d57d4812fa5c6310 /src
parent7604eed2a9bf5cf67f9bcf742f030148afb8fe2a (diff)
downloadrust-9d15b6fb95d7aed3bcadaadaf0516c4733c4f439.tar.gz
rust-9d15b6fb95d7aed3bcadaadaf0516c4733c4f439.zip
fix rebase
Diffstat (limited to 'src')
-rw-r--r--src/librustc/traits/error_reporting.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/traits/error_reporting.rs b/src/librustc/traits/error_reporting.rs
index ff3626ffb85..181efeb2f98 100644
--- a/src/librustc/traits/error_reporting.rs
+++ b/src/librustc/traits/error_reporting.rs
@@ -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(),