diff --git a/compiler/rustc_typeck/src/check/fn_ctxt/suggestions.rs b/compiler/rustc_typeck/src/check/fn_ctxt/suggestions.rs index 9e4b88e374680..8cad4fc707ea3 100644 --- a/compiler/rustc_typeck/src/check/fn_ctxt/suggestions.rs +++ b/compiler/rustc_typeck/src/check/fn_ctxt/suggestions.rs @@ -633,7 +633,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> { }) .collect::, _>>(); - let Ok(where_predicates) = where_predicates else { return }; + let Ok(where_predicates) = where_predicates else { return }; // now get all predicates in the same types as the where bounds, so we can chain them let predicates_from_where =