]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_hir_analysis/src/check/_match.rs
Rollup merge of #102857 - saethlin:derived-enum-hash-test, r=Mark-Simulacrum
[rust.git] / compiler / rustc_hir_analysis / src / check / _match.rs
index 201927091a60a489e0d11aee3554aa9d0ec459f8..143508b785f1e55891fbea3ce5be6698c2012c37 100644 (file)
@@ -259,7 +259,7 @@ pub(super) fn if_fallback_coercion<T>(
                 err.help("consider adding an `else` block that evaluates to the expected type");
                 error = true;
             },
-            ret_reason.is_none(),
+            false,
         );
         error
     }