diff options
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 | ||