Skip to content

Commit

Permalink
Rollup merge of #92360 - jackh726:param-heuristics-1, r=davidtwco
Browse files Browse the repository at this point in the history
Some cleanups around check_argument_types

Split out in ways from my rebase/continuation of #71827

Commits are mostly self-explanatory and these changes should be fairly straightforward
  • Loading branch information
matthiaskrgr authored Jan 6, 2022
2 parents 4d0b567 + bbb8bde commit fb87e7c
Show file tree
Hide file tree
Showing 3 changed files with 137 additions and 108 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_typeck/src/check/callee.rs
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
call_expr.span,
call_expr,
fn_sig.inputs(),
&expected_arg_tys,
expected_arg_tys,
arg_exprs,
fn_sig.c_variadic,
TupleArgumentsFlag::DontTupleArguments,
Expand Down Expand Up @@ -529,7 +529,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
call_expr.span,
call_expr,
fn_sig.inputs(),
&expected_arg_tys,
expected_arg_tys,
arg_exprs,
fn_sig.c_variadic,
TupleArgumentsFlag::TupleArguments,
Expand Down
Loading

0 comments on commit fb87e7c

Please sign in to comment.