Fix overflow when calculating expected_min in generics diagnostics
This commit is contained in:
parent
e91405b9d5
commit
2fd874d0d5
1 changed files with 0 additions and 1 deletions
|
@ -613,7 +613,6 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
|
|||
param_counts.consts + named_type_param_count
|
||||
- default_counts.types
|
||||
- default_counts.consts
|
||||
- synth_type_param_count
|
||||
};
|
||||
debug!("expected_min: {:?}", expected_min);
|
||||
debug!("arg_counts.lifetimes: {:?}", gen_args.num_lifetime_params());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue