1
Fork 0

Fix typo in method name

unsuccessfull -> unsuccessful
This commit is contained in:
Camelid 2020-12-14 20:05:31 -08:00
parent 60b4082d5f
commit 10487cd784
3 changed files with 3 additions and 3 deletions

View file

@ -1622,7 +1622,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
}
}
(TypeError::ObjectUnsafeCoercion(_), _) => {
diag.note_unsuccessfull_coercion(found, expected);
diag.note_unsuccessful_coercion(found, expected);
}
(_, _) => {
debug!(