Commit dcd8c8e
committed
Auto merge of rust-lang#77524 - Patryk27:fixes/66228, r=estebank
Rework diagnostics for wrong number of generic args (fixes rust-lang#66228 and rust-lang#71924)
This PR reworks the `wrong number of {} arguments` message, so that it provides more details and contextual hints.1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
744 | 744 | | |
745 | 745 | | |
746 | 746 | | |
747 | | - | |
| 747 | + | |
748 | 748 | | |
749 | 749 | | |
750 | 750 | | |
| |||
0 commit comments