mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
fix rebase
This commit is contained in:
parent
7604eed2a9
commit
9d15b6fb95
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user