]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_typeck/src/check/fn_ctxt/suggestions.rs
Rollup merge of #93400 - ChayimFriedman2:dont-suggest-using-const-with-bounds-unused...
[rust.git] / compiler / rustc_typeck / src / check / fn_ctxt / suggestions.rs
index 9e4b88e3746806ccd0847f2302bbfd812dad4be4..8cad4fc707ea3a7488e8f3ba9ec5386c5f82bc7a 100644 (file)
@@ -633,7 +633,7 @@ fn try_suggest_return_impl_trait(
             })
             .collect::<Result<Vec<_>, _>>();
 
-        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 =