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.
2 parents 4e21fc3 + 524c2e9 commit 8ff40afCopy full SHA for 8ff40af
crates/rust-analyzer/src/cli/analysis_stats.rs
@@ -276,12 +276,16 @@ pub fn analysis_stats(
276
num_exprs_unknown,
277
if num_exprs > 0 { num_exprs_unknown * 100 / num_exprs } else { 100 }
278
);
279
+ report_metric("unknown type", num_exprs_unknown, "#");
280
+
281
eprintln!(
282
"Expressions of partially unknown type: {} ({}%)",
283
num_exprs_partially_unknown,
284
if num_exprs > 0 { num_exprs_partially_unknown * 100 / num_exprs } else { 100 }
285
286
287
eprintln!("Type mismatches: {}", num_type_mismatches);
288
+ report_metric("type mismatches", num_type_mismatches, "#");
289
290
let inference_time = inference_time.elapsed();
291
let total_memory = ra_prof::memory_usage();
0 commit comments