This commit is contained in:
Jared Roesch 2015-07-07 16:06:35 -07:00 committed by Jared Roesch
parent bbcb13da88
commit 91de8e6c28

View File

@ -1328,9 +1328,10 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
})
};
self.report_and_explain_type_error(trace, &ty::type_err::terr_ty_param_default_mismatch(ty::expected_found {
expected: expected,
found: actual
self.report_and_explain_type_error(trace,
&ty::type_err::terr_ty_param_default_mismatch(ty::expected_found {
expected: expected,
found: actual
}));
}