We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c12fac6 commit 800ab65Copy full SHA for 800ab65
crates/rust-analyzer/src/cli/analysis_stats.rs
@@ -486,8 +486,10 @@ impl flags::AnalysisStats {
486
percentage(num_pats_partially_unknown, num_pats),
487
num_pat_type_mismatches
488
);
489
- report_metric("unknown type", num_exprs_unknown + num_pats_unknown, "#");
490
- report_metric("type mismatches", num_expr_type_mismatches + num_pat_type_mismatches, "#");
+ report_metric("unknown type", num_exprs_unknown, "#");
+ report_metric("type mismatches", num_expr_type_mismatches, "#");
491
+ report_metric("pattern unknown type", num_pats_unknown, "#");
492
+ report_metric("pattern type mismatches", num_pat_type_mismatches, "#");
493
494
eprintln!("{:<20} {}", "Inference:", inference_sw.elapsed());
495
}
0 commit comments