This commit is contained in:
Jared Roesch
2015-07-07 16:06:35 -07:00
committed by Jared Roesch
parent bbcb13da88
commit 91de8e6c28
+4 -3
View File
@@ -1328,9 +1328,10 @@ pub fn report_conflicting_default_types(&self,
})
};
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
}));
}