diff options
| author | bors <bors@rust-lang.org> | 2013-08-22 10:31:25 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-08-22 10:31:25 -0700 |
| commit | 063a005459a3ece4022e1fdb6400548c7ad2358e (patch) | |
| tree | 167835381de505dd715ef4e4ce42b9b4066e17e5 /src/rustllvm/RustWrapper.cpp | |
| parent | 5003f607ec7386ba9a150e1bafb7d389de62d9ff (diff) | |
| parent | 3613c22c8cb9ee37955352c1fde79457c0a211f6 (diff) | |
| download | rust-063a005459a3ece4022e1fdb6400548c7ad2358e.tar.gz rust-063a005459a3ece4022e1fdb6400548c7ad2358e.zip | |
auto merge of #8669 : lkuper/rust/infer-refactor, r=nikomatsakis
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.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
