diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-06 09:03:51 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-06 22:22:31 +0530 |
| commit | 417639885c50a24f8dbeb67b4d954123386180a7 (patch) | |
| tree | 32cf3a44e1eaa14c0b12bc1348d0f641dba7c5cc /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 7a2eea5808da02cbc685059afc7218d3db53a782 (diff) | |
| parent | 7bcf7fb5009b5dbdfa1a611fe464ca0de43c5a49 (diff) | |
| download | rust-417639885c50a24f8dbeb67b4d954123386180a7.tar.gz rust-417639885c50a24f8dbeb67b4d954123386180a7.zip | |
Rollup merge of #23025 - huonw:better-iter-infer, r=Gankro
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. Thanks to @shepmaster for noticing the issue with `Cloned` (I took that example as a test case).
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
