Unnamed repository; edit this file 'description' to name the repository.
Add a FIXME
Florian Diebold 2022-03-21
parent 8498eaa · commit baa43a8
-rw-r--r--crates/hir/src/diagnostics.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/hir/src/diagnostics.rs b/crates/hir/src/diagnostics.rs
index 2246e7b486..bc43fb15ee 100644
--- a/crates/hir/src/diagnostics.rs
+++ b/crates/hir/src/diagnostics.rs
@@ -153,6 +153,7 @@ pub struct MissingMatchArms {
#[derive(Debug)]
pub struct TypeMismatch {
+ // FIXME: add mismatches in patterns as well
pub expr: InFile<AstPtr<ast::Expr>>,
pub expected: Type,
pub actual: Type,