Yuki Okushi 3e937d02a0
Rollup merge of #104467 - fuzzypixelz:fix/attempt-to-substract-with-overflow, r=compiler-errors
Fix substraction with overflow in `wrong_number_of_generic_args.rs`

Fixes #104287

This issue happens in the `suggest_moving_args_from_assoc_fn_to_trait_for_qualified_path` function, which seems to run before the error checking facilities can catch an invalid use of generic arguments. Thus we get a subtraction with overflow because the code implicitly assumes that the source program makes sense (or is this assumption not true even if the program is correct?).
2022-11-20 13:15:59 +09:00
..
2022-11-14 03:23:41 +00:00
2022-11-10 12:56:33 -06:00
2022-10-29 20:28:38 +11:00
2022-10-29 20:28:38 +11:00
2022-11-06 02:40:25 +00:00