]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_typeck/src/check/fn_ctxt/_impl.rs
fmt
[rust.git] / compiler / rustc_typeck / src / check / fn_ctxt / _impl.rs
index a86c16ef6df4f13ff1cd9802afd5edd508b1ac6f..93b2a595259722923447a3a5de4bbdc192c8f498 100644 (file)
@@ -642,7 +642,7 @@ pub(in super::super) fn resolve_generator_interiors(&self, def_id: DefId) {
 
     #[instrument(skip(self), level = "debug")]
     pub(in super::super) fn select_all_obligations_or_error(&self) {
-        let errors =self
+        let errors = self
             .fulfillment_cx
             .borrow_mut()
             .select_all_with_constness_or_error(&self, self.inh.constness);
@@ -662,7 +662,7 @@ pub(in super::super) fn select_obligations_where_possible(
             .fulfillment_cx
             .borrow_mut()
             .select_with_constness_where_possible(self, self.inh.constness);
-        if !result.is_empty()  {
+        if !result.is_empty() {
             mutate_fulfillment_errors(&mut result);
             self.report_fulfillment_errors(&result, self.inh.body_id, fallback_has_occurred);
         }