mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-29 16:13:40 +00:00
Add bound check
This commit is contained in:
parent
d0357fc3b2
commit
977cf381ce
@ -169,12 +169,12 @@ pub fn run(
|
||||
println!(
|
||||
"Expressions of unknown type: {} ({}%)",
|
||||
num_exprs_unknown,
|
||||
(num_exprs_unknown * 100 / num_exprs)
|
||||
if num_exprs > 0 { (num_exprs_unknown * 100 / num_exprs) } else { 100 }
|
||||
);
|
||||
println!(
|
||||
"Expressions of partially unknown type: {} ({}%)",
|
||||
num_exprs_partially_unknown,
|
||||
(num_exprs_partially_unknown * 100 / num_exprs)
|
||||
if num_exprs > 0 { (num_exprs_partially_unknown * 100 / num_exprs) } else { 100 }
|
||||
);
|
||||
println!("Type mismatches: {}", num_type_mismatches);
|
||||
println!("Inference: {:?}, {}", inference_time.elapsed(), ra_prof::memory_usage());
|
||||
|
Loading…
Reference in New Issue
Block a user