rust/src/test
Ulrik Sverdrup ed5015939f Expand .zip() specialization to .map() and .cloned()
Implement .zip() specialization for Map and Cloned.

The crucial thing for transparent specialization is that we want to
preserve the potential side effects.

The simplest example is that in this code snippet:

`(0..6).map(f).zip((0..4).map(g)).count()`

`f` will be called five times, and `g` four times. The last time for `f`
is when the other iterator is at its end, so this element is unused.
This side effect can be preserved without disturbing code generation for
simple uses of `.map()`.

The `Zip::next_back()` case is even more complicated, unfortunately.
2016-10-17 10:58:21 +02:00
..
codegen Expand .zip() specialization to .map() and .cloned() 2016-10-17 10:58:21 +02:00
codegen-units Fix fallout in tests. 2016-09-27 06:43:51 +00:00
compile-fail Auto merge of #37090 - GuillaumeGomez:rollup, r=GuillaumeGomez 2016-10-11 13:29:02 -07:00
compile-fail-fulldeps rustc: Rename rustc_macro to proc_macro 2016-10-06 11:07:23 -07:00
debuginfo Add s390x support 2016-09-09 22:28:19 +01:00
incremental Rollup merge of #37072 - michaelwoerister:enable-trait-ich-tests, r=nikomatsakis 2016-10-11 17:51:27 +02:00
mir-opt update tests 2016-10-04 20:43:43 +03:00
parse-fail Fix fallout in tests. 2016-09-23 04:26:59 +00:00
pretty Implement RFC#1559: allow all literals in attributes. 2016-08-25 13:25:22 -07:00
run-fail Unignore some working emscripten tests 2016-09-30 14:02:58 -07:00
run-fail-fulldeps Refactor ExtCtxt to use a Resolver instead of a MacroLoader. 2016-09-13 05:31:16 +00:00
run-make Auto merge of #36945 - alexcrichton:proc-macro-rename, r=nrc 2016-10-07 07:58:27 -07:00
run-pass Expand .zip() specialization to .map() and .cloned() 2016-10-17 10:58:21 +02:00
run-pass-fulldeps rustc: Rename rustc_macro to proc_macro 2016-10-06 11:07:23 -07:00
run-pass-valgrind Disable old trans access via -Z orbit, #[rustc_no_mir] or --disable-orbit. 2016-08-24 13:23:37 +03:00
rustdoc Rollup merge of #36679 - QuietMisdreavus:rustdoc-line-breaks, r=steveklabnik 2016-10-11 17:51:25 +02:00
ui Better underline for E0057,E0060,E0061 2016-10-06 22:02:46 +02:00