Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/infer.rs')
-rw-r--r--crates/hir-ty/src/infer.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/hir-ty/src/infer.rs b/crates/hir-ty/src/infer.rs
index 3a0f9f8048..5cccba1584 100644
--- a/crates/hir-ty/src/infer.rs
+++ b/crates/hir-ty/src/infer.rs
@@ -368,6 +368,10 @@ pub enum InferenceDiagnostic {
#[type_visitable(ignore)]
bad_value_break: bool,
},
+ NonExhaustiveRecordExpr {
+ #[type_visitable(ignore)]
+ expr: ExprId,
+ },
MismatchedArgCount {
#[type_visitable(ignore)]
call_expr: ExprId,