Commit a602f13
committed
Auto merge of rust-lang#55986 - cjgillot:issue-45510, r=nikomatsakis
Allow to dispatch fn traits depending on number of parameters
Hello,
By following @eddyb's advise on issue rust-lang#45510, I managed to have the snippets of code in rust-lang#45510 and rust-lang#18952 passing without breaking older diagnostics.
EDIT: the codegen tests breakage I experienced is due to the poor quality of my laptop.
If any kind reviewer has any advice, you are very welcome.File tree
3 files changed
+309
-145
lines changed- src
- librustc_typeck/check
- test/run-pass
3 files changed
+309
-145
lines changed
0 commit comments