Skip to content

Commit 2a50487

Browse files
committed
Return whether check_generic_arg_count finds an error
1 parent 1d7e818 commit 2a50487

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/librustc_typeck/astconv.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -402,10 +402,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
402402
}
403403
err.emit();
404404

405-
(
406-
provided > required, // `suppress_error`
407-
potential_assoc_types,
408-
)
405+
(true, potential_assoc_types)
409406
};
410407

411408
if reported_late_bound_region_err.is_none()

0 commit comments

Comments
 (0)