X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_hir_typeck%2Fsrc%2Fcallee.rs;h=b09ddf80e2a52577292e3d602fca7e3cff198dc2;hb=552b63c1619498f1a17fd482f4bb87815d8fdc48;hp=e50d249849fa8483265966c4b6a32403360025db;hpb=3539cf9344d3efb853751a17b520af35dcd5030b;p=rust.git diff --git a/compiler/rustc_hir_typeck/src/callee.rs b/compiler/rustc_hir_typeck/src/callee.rs index e50d249849f..b09ddf80e2a 100644 --- a/compiler/rustc_hir_typeck/src/callee.rs +++ b/compiler/rustc_hir_typeck/src/callee.rs @@ -448,7 +448,7 @@ fn confirm_builtin_call( // previously appeared within a `Binder<>` and hence would not // have been normalized before. let fn_sig = self.replace_bound_vars_with_fresh_vars(call_expr.span, infer::FnCall, fn_sig); - let fn_sig = self.normalize_associated_types_in(call_expr.span, fn_sig); + let fn_sig = self.normalize(call_expr.span, fn_sig); // Call the generic checker. let expected_arg_tys = self.expected_inputs_for_expected_output(