diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2015-03-04 21:32:33 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2015-03-05 22:50:09 +1100 |
| commit | 7bcf7fb5009b5dbdfa1a611fe464ca0de43c5a49 (patch) | |
| tree | 711b07486654bb072babdefa9d093f6a9c6f4bbb /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | fed12499e7d91f9cdfba5833e34d20e8fd19b898 (diff) | |
| download | rust-7bcf7fb5009b5dbdfa1a611fe464ca0de43c5a49.tar.gz rust-7bcf7fb5009b5dbdfa1a611fe464ca0de43c5a49.zip | |
Use more associated types in core::iter.
This concretely improves type inference of some cases (see included test). I assume the compiler struggles to reason about multiple layers of generic type parameters (even with associated-type equalities) but *can* understand pure associated types, since they are always directly computable from the input types.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
