diff options
Diffstat (limited to 'crates/ra_hir')
-rw-r--r-- | crates/ra_hir/src/source_analyzer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/source_analyzer.rs b/crates/ra_hir/src/source_analyzer.rs index 45631f8fd..226fb4534 100644 --- a/crates/ra_hir/src/source_analyzer.rs +++ b/crates/ra_hir/src/source_analyzer.rs | |||
@@ -255,7 +255,7 @@ impl SourceAnalyzer { | |||
255 | _ => return None, | 255 | _ => return None, |
256 | }; | 256 | }; |
257 | 257 | ||
258 | let (variant, missing_fields) = | 258 | let (variant, missing_fields, _exhaustive) = |
259 | record_pattern_missing_fields(db, infer, pat_id, &body[pat_id])?; | 259 | record_pattern_missing_fields(db, infer, pat_id, &body[pat_id])?; |
260 | let res = self.missing_fields(db, krate, substs, variant, missing_fields); | 260 | let res = self.missing_fields(db, krate, substs, variant, missing_fields); |
261 | Some(res) | 261 | Some(res) |