Skip to content

Commit

Permalink
Fmt again
Browse files Browse the repository at this point in the history
  • Loading branch information
iSwapna committed Nov 4, 2023
1 parent 4e5e600 commit acf08eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_hir_typeck/src/method/suggest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
}
}
// Only if an appropriate error source is not found, check method chain for possible candiates
let error_source_not_found = unsatisfied_predicates.is_empty();
let error_source_not_found = unsatisfied_predicates.is_empty();
if error_source_not_found && let Mode::MethodCall = mode && let SelfSource::MethodCall(mut rcvr_expr) = source {
while let hir::ExprKind::MethodCall(_path_segment, parent_expr, _args, method_span) =
rcvr_expr.kind
Expand Down

0 comments on commit acf08eb

Please sign in to comment.