Skip to content

Commit

Permalink
Rollup merge of rust-lang#55986 - cjgillot:issue-45510, r=nikomatsakis
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Mark-Simulacrum authored Jan 3, 2019
2 parents 2442823 + 91c155b commit 677eef5
Show file tree
Hide file tree
Showing 3 changed files with 309 additions and 145 deletions.
Loading

0 comments on commit 677eef5

Please sign in to comment.