Skip to content

Commit

Permalink
auto merge of #8669 : lkuper/rust/infer-refactor, r=nikomatsakis
Browse files Browse the repository at this point in the history
This commit removes the "super_*" functions from
typeck::infer::combine, and adds them as default methods on the
Combine trait instead, making it possible to remove a lot of
boilerplate from the various impls of Combine.

I've been wanting to do this for over a year.  In fact, it was my
original motivation for default methods!

It might be possible to tighten things up even more, but this is the
bulk of it.
  • Loading branch information
bors committed Aug 22, 2013
2 parents 5003f60 + 3613c22 commit 063a005
Show file tree
Hide file tree
Showing 4 changed files with 250 additions and 467 deletions.
Loading

0 comments on commit 063a005

Please sign in to comment.