aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/diagnostics/expr.rs
diff options
context:
space:
mode:
authorDawer <[email protected]>2021-05-31 21:44:51 +0100
committerDawer <[email protected]>2021-05-31 21:44:51 +0100
commite7c49666be180eba2720cce09d4d2116b1ef4d20 (patch)
tree3d5a9bd6fa75c44c4964738b57df21bf4e64b29f /crates/hir_ty/src/diagnostics/expr.rs
parent31b6a750f8e37d011060a17ffd816d721d087844 (diff)
Expand fixme comments
Diffstat (limited to 'crates/hir_ty/src/diagnostics/expr.rs')
-rw-r--r--crates/hir_ty/src/diagnostics/expr.rs1
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) {