rust/src/libsyntax
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
..
diagnostics Use Symbol instead of InternedString in the AST, HIR, and various other places. 2016-11-21 09:00:55 +00:00
ext Auto merge of #39110 - petrochenkov:sum, r=eddyb 2017-01-17 12:31:15 +00:00
parse Auto merge of #39110 - petrochenkov:sum, r=eddyb 2017-01-17 12:31:15 +00:00
print Auto merge of #39110 - petrochenkov:sum, r=eddyb 2017-01-17 12:31:15 +00:00
util annotate stricter lifetimes on LateLintPass methods to allow them to forward to a Visitor 2016-12-06 11:28:51 +01:00
abi.rs Further and hopefully final Windows fixes 2016-12-30 15:19:50 +01:00
ast.rs Auto merge of #39110 - petrochenkov:sum, r=eddyb 2017-01-17 12:31:15 +00:00
attr.rs syntax: struct field attributes and cfg 2017-01-11 21:33:17 -08:00
Cargo.toml Such large. Very 128. Much bits. 2016-12-30 15:15:44 +01:00
codemap.rs rustc: use Span's allow_internal_unstable instead of hir::BlockCheckMode. 2016-11-28 04:18:10 +02:00
config.rs syntax: struct field attributes and cfg 2017-01-11 21:33:17 -08:00
diagnostic_list.rs AST/HIR: Merge ObjectSum and PolyTraitRef 2017-01-17 01:52:47 +03:00
entry.rs Cleanup InternedString. 2016-11-21 09:00:56 +00:00
feature_gate.rs Mark the pushpop_unsafe feature as "removed" 2017-01-15 02:17:26 +01:00
fold.rs Auto merge of #39110 - petrochenkov:sum, r=eddyb 2017-01-17 12:31:15 +00:00
json.rs Allow supplying an error destination via the compiler driver 2016-09-28 16:20:30 +13:00
lib.rs Auto merge of #38679 - alexcrichton:always-deny-warnings, r=nrc 2017-01-08 08:22:06 +00:00
ptr.rs Documentation for default types modified 2016-09-11 22:58:01 +05:30
show_span.rs annotate stricter lifetimes on LateLintPass methods to allow them to forward to a Visitor 2016-12-06 11:28:51 +01:00
std_inject.rs Refactor how global paths are represented (for both ast and hir). 2016-12-22 06:14:35 +00:00
str.rs syntax: Copy unstable str::char_at into libsyntax 2015-04-21 10:23:53 -07:00
symbol.rs Refactor how global paths are represented (for both ast and hir). 2016-12-22 06:14:35 +00:00
test.rs Rename ExprKind::Vec to Array in HIR and HAIR. 2017-01-16 00:45:51 -08:00
test_snippet.rs review comments 2016-11-23 23:44:17 -08:00
tokenstream.rs macros: fix the expected paths for a non-inline module matched by an item fragment. 2016-12-07 10:56:55 +00:00
visit.rs Auto merge of #39110 - petrochenkov:sum, r=eddyb 2017-01-17 12:31:15 +00:00