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,