diff options
author | Dawer <[email protected]> | 2021-05-10 09:22:13 +0100 |
---|---|---|
committer | Dawer <[email protected]> | 2021-05-31 20:03:47 +0100 |
commit | 49e016169fc8413e2734a655cbd55ebba2907b76 (patch) | |
tree | 7688ba28eea44454e4d541890e1d311a3a87fffb /crates/hir_ty/src/diagnostics/pattern | |
parent | 9b841a9a044d9d71cece62a3e44880325bc15f78 (diff) |
Check pattern types.
Diffstat (limited to 'crates/hir_ty/src/diagnostics/pattern')
-rw-r--r-- | crates/hir_ty/src/diagnostics/pattern/usefulness.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_ty/src/diagnostics/pattern/usefulness.rs b/crates/hir_ty/src/diagnostics/pattern/usefulness.rs index ef2be7530..01a7fb0d9 100644 --- a/crates/hir_ty/src/diagnostics/pattern/usefulness.rs +++ b/crates/hir_ty/src/diagnostics/pattern/usefulness.rs | |||
@@ -28,7 +28,7 @@ pub(crate) struct MatchCheckCtx<'a> { | |||
28 | pub(crate) body: Arc<Body>, | 28 | pub(crate) body: Arc<Body>, |
29 | pub(crate) infer: &'a InferenceResult, | 29 | pub(crate) infer: &'a InferenceResult, |
30 | pub(crate) db: &'a dyn HirDatabase, | 30 | pub(crate) db: &'a dyn HirDatabase, |
31 | /// Patterns from self.body.pats plus generated by the check. | 31 | /// Lowered patterns from self.body.pats plus generated by the check. |
32 | pub(crate) pattern_arena: &'a RefCell<PatternArena>, | 32 | pub(crate) pattern_arena: &'a RefCell<PatternArena>, |
33 | } | 33 | } |
34 | 34 | ||