Skip to content

Commit e00146f

Browse files
committed
fulfillment typo
1 parent 3c3cf08 commit e00146f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

compiler/rustc_typeck/src/check/fn_ctxt/_impl.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -720,11 +720,11 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
720720
pub(in super::super) fn select_obligations_where_possible(
721721
&self,
722722
fallback_has_occurred: bool,
723-
mutate_fullfillment_errors: impl Fn(&mut Vec<traits::FulfillmentError<'tcx>>),
723+
mutate_fulfillment_errors: impl Fn(&mut Vec<traits::FulfillmentError<'tcx>>),
724724
) {
725725
let result = self.fulfillment_cx.borrow_mut().select_where_possible(self);
726726
if let Err(mut errors) = result {
727-
mutate_fullfillment_errors(&mut errors);
727+
mutate_fulfillment_errors(&mut errors);
728728
self.report_fulfillment_errors(&errors, self.inh.body_id, fallback_has_occurred);
729729
}
730730
}

compiler/rustc_typeck/src/check/fn_ctxt/checks.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
986986
error.obligation.predicate.kind().skip_binder()
987987
{
988988
// If any of the type arguments in this path segment caused the
989-
// `FullfillmentError`, point at its span (#61860).
989+
// `FulfillmentError`, point at its span (#61860).
990990
for arg in path
991991
.segments
992992
.iter()

0 commit comments

Comments
 (0)