rust/src
bors a167c042ab Auto merge of #39110 - petrochenkov:sum, r=eddyb
Merge ObjectSum and PolyTraitRef in AST/HIR + some other refactoring

`ObjectSum` and `PolyTraitRef` are the same thing (list of bounds), they exist separately only due to parser quirks. The second commit merges them.

The first commit replaces `Path` with `Ty` in (not yet supported) equality predicates. They are parsed as types anyway and arbitrary types can always be disguised as paths using aliases, so this doesn't add any new functionality.

The third commit uses `Vec` instead of `P<[T]>` in AST. AST is not immutable like HIR and `Vec`s are more convenient for it, unnecessary conversions are also avoided.

The last commit renames `parse_ty_sum` (which is used for parsing types in general) into `parse_ty`, and renames `parse_ty` (which is used restricted contexts where `+` is not permitted due to operator priorities or other reasons) into `parse_ty_no_plus`.

This is the first part of https://github.com/rust-lang/rust/issues/39085#issuecomment-272743755 and https://github.com/rust-lang/rust/issues/39080 focused on data changes and mechanical renaming, I'll submit a PR with parser changes a bit later.

r? @eddyb
2017-01-17 12:31:15 +00:00
..
bootstrap Auto merge of #39052 - alexcrichton:fix-rebuild, r=brson 2017-01-15 11:03:48 +00:00
build_helper
ci travis: Pass --release-channel=nightly on deploy 2017-01-16 22:26:21 -08:00
compiler-rt@a8fc4c169f
doc An update to patterns documentation 2017-01-15 12:27:41 -08:00
driver
etc
grammar
jemalloc@e058ca6616
liballoc Rollup merge of #38664 - apasel422:may-dangle, r=pnkfelix 2017-01-10 20:27:41 +09:00
liballoc_jemalloc
liballoc_system
libarena Rollup merge of #38664 - apasel422:may-dangle, r=pnkfelix 2017-01-10 20:27:41 +09:00
libbacktrace
libcollections Rollup merge of #39106 - istankovic:patch-2, r=GuillaumeGomez 2017-01-16 22:48:26 +01:00
libcollectionstest add test for range_mut 2017-01-14 16:51:51 +00:00
libcompiler_builtins Fix endian bugs in i128 intrinsic impls 2017-01-16 11:32:38 +02:00
libcore Rollup merge of #38247 - federicomenaquintero:assert-eq-argument-docs, r=GuillaumeGomez 2017-01-16 22:48:21 +01:00
libcoretest Auto merge of #38982 - clarcharr:expect_err, r=aturon 2017-01-14 17:33:46 +00:00
libflate
libfmt_macros
libgetopts
libgraphviz
liblibc@7d57bdcdbb
liblog
libpanic_abort
libpanic_unwind
libproc_macro
libproc_macro_plugin proc macros/qquote: Handle empty delimited tokens 2017-01-16 13:54:36 +13:00
libproc_macro_tokens proc macros/qquote: Handle empty delimited tokens 2017-01-16 13:54:36 +13:00
librand
librustc Auto merge of #39110 - petrochenkov:sum, r=eddyb 2017-01-17 12:31:15 +00:00
librustc_back Disable jemalloc on s390x as well (closes #38596) 2017-01-12 19:33:40 +01:00
librustc_bitflags
librustc_borrowck
librustc_const_eval Fix two const-eval issues related to i128 negation 2017-01-11 19:38:44 +02:00
librustc_const_math Fix two const-eval issues related to i128 negation 2017-01-11 19:38:44 +02:00
librustc_data_structures Auto merge of #38610 - djzin:master, r=sfackler 2017-01-15 21:44:51 +00:00
librustc_driver Fix linker failure 2017-01-12 14:45:25 +01:00
librustc_errors Auto merge of #38916 - estebank:pad-suggestion-list, r=nikomatsakis 2017-01-11 05:27:11 +00:00
librustc_i128
librustc_incremental Rename ObjectSum into TraitObject in AST/HIR 2017-01-17 10:41:44 +03:00
librustc_lint
librustc_llvm
librustc_metadata
librustc_mir Rename ExprKind::Vec to Array in HIR and HAIR. 2017-01-16 00:45:51 -08:00
librustc_passes Rename ObjectSum into TraitObject in AST/HIR 2017-01-17 10:41:44 +03:00
librustc_platform_intrinsics
librustc_plugin
librustc_privacy AST/HIR: Replace Path with Type in WhereEqPredicate 2017-01-16 21:32:13 +03:00
librustc_resolve resolve: Levenshtein-based suggestions for non-import paths 2017-01-13 23:33:02 +03:00
librustc_save_analysis
librustc_trans Auto merge of #38944 - michaelwoerister:incr-generics-partitioning, r=nikomatsakis 2017-01-14 13:17:16 +00:00
librustc_typeck Rename ObjectSum into TraitObject in AST/HIR 2017-01-17 10:41:44 +03:00
librustdoc Rename ObjectSum into TraitObject in AST/HIR 2017-01-17 10:41:44 +03:00
libserialize
libstd Rollup merge of #39065 - frewsxcv:libstd-os-unix-ffi-docs, r=GuillaumeGomez 2017-01-16 22:48:23 +01:00
libstd_unicode Implement Display for char Escape*, To*case. 2017-01-11 12:39:56 -05:00
libsyntax Auto merge of #39110 - petrochenkov:sum, r=eddyb 2017-01-17 12:31:15 +00:00
libsyntax_ext Use resizable Vec instead of P<[T]> in AST 2017-01-17 01:54:59 +03:00
libsyntax_pos
libterm
libtest Auto merge of #38779 - Craig-Macomber:bench, r=alexcrichton 2017-01-12 14:42:02 +00:00
libunwind
llvm@ceb177eeef
rt Fix UB in test helpers 2017-01-16 11:46:00 +02:00
rtstartup
rust-installer@4f99485080
rustc
rustllvm Fix covered-switch-default warnings in RustWrapper 2017-01-14 15:38:12 +01:00
test Auto merge of #39110 - petrochenkov:sum, r=eddyb 2017-01-17 12:31:15 +00:00
tools Mark the pushpop_unsafe feature as "removed" 2017-01-15 02:17:26 +01:00
vendor
Cargo.lock
Cargo.toml
stage0.txt