From baa43a86abf9d31b833b36822b9ae14cd11cf935 Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Mon, 21 Mar 2022 16:49:01 +0100 Subject: [PATCH] Add a FIXME --- crates/hir/src/diagnostics.rs | 1 + 1 file changed, 1 insertion(+) 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>, pub expected: Type, pub actual: Type,