Unnamed repository; edit this file 'description' to name the repository.
Add a FIXME
| -rw-r--r-- | crates/hir/src/diagnostics.rs | 1 |
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, |