diff options
Diffstat (limited to 'crates/hir_ty/src/diagnostics/expr.rs')
-rw-r--r-- | crates/hir_ty/src/diagnostics/expr.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/hir_ty/src/diagnostics/expr.rs b/crates/hir_ty/src/diagnostics/expr.rs index 44d5f6b22..3efbce773 100644 --- a/crates/hir_ty/src/diagnostics/expr.rs +++ b/crates/hir_ty/src/diagnostics/expr.rs | |||
@@ -376,6 +376,7 @@ impl<'a, 'b> ExprValidator<'a, 'b> { | |||
376 | // https://github.com/rust-lang/rust/blob/25c15cdbe/compiler/rustc_mir_build/src/thir/pattern/check_match.rs#L200-L201 | 376 | // https://github.com/rust-lang/rust/blob/25c15cdbe/compiler/rustc_mir_build/src/thir/pattern/check_match.rs#L200-L201 |
377 | 377 | ||
378 | let witnesses = report.non_exhaustiveness_witnesses; | 378 | let witnesses = report.non_exhaustiveness_witnesses; |
379 | // FIXME Report witnesses | ||
379 | // eprintln!("compute_match_usefulness(..) -> {:?}", &witnesses); | 380 | // eprintln!("compute_match_usefulness(..) -> {:?}", &witnesses); |
380 | if !witnesses.is_empty() { | 381 | if !witnesses.is_empty() { |
381 | if let Ok(source_ptr) = source_map.expr_syntax(id) { | 382 | if let Ok(source_ptr) = source_map.expr_syntax(id) { |