diff options
author | Dawer <[email protected]> | 2021-04-29 19:28:43 +0100 |
---|---|---|
committer | Dawer <[email protected]> | 2021-05-31 20:03:46 +0100 |
commit | 678d85ca7e4d7e631a450b8c050fe7696da0cac3 (patch) | |
tree | f013655d9c581959ebd5a2db83d6fea91005fdb6 /crates/hir_ty/src/diagnostics/expr.rs | |
parent | 062c7953a12bf849db641d14d8d26af47ddca79e (diff) |
Implement struct ctor application
Diffstat (limited to 'crates/hir_ty/src/diagnostics/expr.rs')
-rw-r--r-- | crates/hir_ty/src/diagnostics/expr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_ty/src/diagnostics/expr.rs b/crates/hir_ty/src/diagnostics/expr.rs index 88018b5d9..a62f0fa4f 100644 --- a/crates/hir_ty/src/diagnostics/expr.rs +++ b/crates/hir_ty/src/diagnostics/expr.rs | |||
@@ -382,7 +382,7 @@ impl<'a, 'b> ExprValidator<'a, 'b> { | |||
382 | 382 | ||
383 | let pattern_arena = usefulness::PatternArena::clone_from(&body.pats); | 383 | let pattern_arena = usefulness::PatternArena::clone_from(&body.pats); |
384 | let cx = usefulness::MatchCheckCtx { | 384 | let cx = usefulness::MatchCheckCtx { |
385 | krate: self.owner.module(db.upcast()).krate(), | 385 | module: self.owner.module(db.upcast()), |
386 | match_expr, | 386 | match_expr, |
387 | body, | 387 | body, |
388 | infer: &infer, | 388 | infer: &infer, |