rust/src
bors 686ec28cea Auto merge of #42527 - qnighy:unsized-tuple-coercions, r=arielb1
Unsized tuple coercions

Part of #18469. Fixes #32702.

#37685 and #34451 might also be related.

This PR does the following:

- Introduce explicit `Sized` constraints on tuple initializers, similar to that of record-struct initializers. Not much relevant to the main contribution but I noticed this when making tests for unsized tuple coercions.
- Implement `(.., T): Unsize<(.., U)>` where `T: Unsize<U>`.
- Assume `(.., T)` is MaybeUnsizedUnivariant.
- Modify `src/librustc/ty/util.rs` and `src/librustc_trans/glue.rs` so that tuples and structs are uniformly traversed when translating.
2017-06-29 15:04:31 +00:00
..
bootstrap Auto merge of #42784 - tlively:wasm-bot, r=alexcrichton 2017-06-24 22:34:08 +00:00
build_helper rustbuild: Add ./x.py test --no-fail-fast 2017-06-02 09:27:44 -07:00
ci Restore old emscripten.sh for use by asmjs 2017-06-24 11:35:48 -07:00
compiler-rt@c8a8767c56
doc Give a tracking-issue number for unsized tuple coercion. 2017-06-29 21:25:35 +09:00
driver
etc Merge crate collections into alloc 2017-06-13 23:37:34 -07:00
grammar changed upper bound digit in octal rule to 7 2017-06-13 17:08:12 -03:00
jemalloc@11bfb0dcf8 Revert "Update jemalloc to 4.5.0" 2017-06-09 20:23:38 +02:00
liballoc Rollup merge of #42901 - alexcrichton:alloc-one, r=sfackler 2017-06-29 08:40:06 +00:00
liballoc_jemalloc Bump version and stage0 compiler 2017-06-19 22:25:05 -07:00
liballoc_system Improve reallocation in alloc_system on Windows 2017-06-02 06:29:58 -04:00
libarena Bump version and stage0 compiler 2017-06-19 22:25:05 -07:00
libbacktrace
libcollections Stabilize RangeArgument 2017-06-24 19:20:57 -07:00
libcompiler_builtins Support VS 2017 2017-06-01 20:41:38 +00:00
libcore Rollup merge of #42920 - behnam:cmp, r=BurntSushi 2017-06-29 08:40:08 +00:00
libfmt_macros Bump version and stage0 compiler 2017-06-19 22:25:05 -07:00
libgetopts Switch to the crates.io getopts crate 2017-06-20 12:43:12 -07:00
libgraphviz Removed as many "```ignore" as possible. 2017-06-23 15:31:53 +08:00
liblibc@2015cf17a6 Update libc to 0.2.24 2017-06-20 13:42:52 +02:00
libpanic_abort
libpanic_unwind std: Avoid panics in rust_eh_personality 2017-06-08 07:06:43 -07:00
libproc_macro Update older URLs pointing to the first edition of the Book 2017-06-15 00:04:00 +09:00
libproc_macro_plugin Bump version and stage0 compiler 2017-06-19 22:25:05 -07:00
libprofiler_builtins Fix gcc version required by libprofiler_builtins 2017-06-13 20:21:58 +01:00
librand Removal pass for anonymous parameters 2017-05-02 05:55:20 +02:00
librustc Auto merge of #42527 - qnighy:unsized-tuple-coercions, r=arielb1 2017-06-29 15:04:31 +00:00
librustc_asan
librustc_back Auto merge of #42784 - tlively:wasm-bot, r=alexcrichton 2017-06-24 22:34:08 +00:00
librustc_bitflags Bump version and stage0 compiler 2017-06-19 22:25:05 -07:00
librustc_borrowck rustc: move the PolyFnSig out of TyFnDef. 2017-06-27 16:39:52 +03:00
librustc_const_eval rustc: move the PolyFnSig out of TyFnDef. 2017-06-27 16:39:52 +03:00
librustc_const_math Bump version and stage0 compiler 2017-06-19 22:25:05 -07:00
librustc_data_structures Stabilize RangeArgument 2017-06-24 19:20:57 -07:00
librustc_driver Modify --explain to handle hidden code (# ...) and indented code blocks. 2017-06-23 15:31:53 +08:00
librustc_errors Suggest removal of semicolon (instead of being help) 2017-06-24 10:08:51 -07:00
librustc_incremental Print -Zincremental-info to stderr instead of stdout. 2017-06-22 10:27:51 +02:00
librustc_lint Rollup merge of #42886 - durka:pplmm-mwe, r=petrochenkov 2017-06-29 08:40:05 +00:00
librustc_llvm Auto merge of #42571 - tlively:wasm-dev, r=alexcrichton 2017-06-20 09:44:40 +00:00
librustc_lsan
librustc_metadata rustc_typeck: support functions in variance computation. 2017-06-27 16:39:58 +03:00
librustc_mir rustc_typeck: use body-id of type-checking item in need_type_info 2017-06-28 20:19:52 +00:00
librustc_msan
librustc_passes syntax: allow negative integer literal expression to be interpolated as pattern 2017-06-27 18:39:38 +00:00
librustc_platform_intrinsics Bump version and stage0 compiler 2017-06-19 22:25:05 -07:00
librustc_plugin Removed as many "```ignore" as possible. 2017-06-23 15:31:53 +08:00
librustc_privacy rustc: move the PolyFnSig out of TyFnDef. 2017-06-27 16:39:52 +03:00
librustc_resolve Rollup merge of #42833 - durka:non-constant-used-with-constant, r=Mark-Simulacrum 2017-06-23 06:02:15 -06:00
librustc_save_analysis Rollup merge of #42766 - nrc:versions, r=nagisa 2017-06-21 10:40:17 -04:00
librustc_trans Add unsized tuple coercions. 2017-06-29 21:23:33 +09:00
librustc_tsan
librustc_typeck Auto merge of #42527 - qnighy:unsized-tuple-coercions, r=arielb1 2017-06-29 15:04:31 +00:00
librustdoc Rollup merge of #42219 - pwoolcoc:add-allow-fail-to-libtest, r=GuillaumeGomez 2017-06-29 08:40:01 +00:00
libserialize Removed as many "```ignore" as possible. 2017-06-23 15:31:53 +08:00
libstd Rollup merge of #42955 - matklad:doc-path, r=steveklabnik 2017-06-29 08:40:12 +00:00
libstd_unicode Rollup merge of #42271 - tinaun:charfromstr, r=alexcrichton 2017-06-20 16:28:25 -04:00
libsyntax Give a tracking-issue number for unsized tuple coercion. 2017-06-29 21:25:35 +09:00
libsyntax_ext Auto merge of #42709 - stepancheg:discriminant-hash, r=jseyfried 2017-06-28 06:32:10 +00:00
libsyntax_pos Bump version and stage0 compiler 2017-06-19 22:25:05 -07:00
libterm Bump version and stage0 compiler 2017-06-19 22:25:05 -07:00
libtest only show allowed failure count if there are allowed failures 2017-06-25 12:23:20 -04:00
libunwind
llvm@d8c9dfcc4f Update LLVM to fix unsigned multiplication overflow 2017-06-21 16:38:36 +01:00
rt Remove the in-tree flate crate 2017-06-20 07:11:29 -07:00
rtstartup Update stage0 bootstrap compiler 2017-04-29 12:11:14 -07:00
rustc
rustllvm Update LLVM to pick StackColoring improvement 2017-06-19 20:55:56 +03:00
test Auto merge of #42527 - qnighy:unsized-tuple-coercions, r=arielb1 2017-06-29 15:04:31 +00:00
tools Rollup merge of #42219 - pwoolcoc:add-allow-fail-to-libtest, r=GuillaumeGomez 2017-06-29 08:40:01 +00:00
Cargo.lock Update Cargo 2017-06-26 10:30:36 -06:00
Cargo.toml Update cargo/rls submodules and dependencies 2017-06-17 12:00:49 -07:00
stage0.txt Bump version and stage0 compiler 2017-06-19 22:25:05 -07:00