rust/src
bors 6365080c5c Auto merge of #23085 - goffrie:interpolating-quote, r=huonw
This changes the `ToTokens` implementations for expressions, statements, etc. with almost-trivial ones that produce `Interpolated(*Nt(...))` pseudo-tokens. In this way, quasiquote now works the same way as macros do: already-parsed AST fragments are used as-is, not reparsed.

The `ToSource` trait is removed. Quasiquote no longer involves pretty-printing at all, which removes the need for the `encode_with_hygiene` hack. All associated machinery is removed.

New `Nonterminal`s are added: NtArm, NtImplItem, and NtTraitItem. These are just for quasiquote, not macros.

`ToTokens` is no longer implemented for `Arg` (although this could be added again) and `Generics` (which I don't think makes sense).

This breaks any compiler extensions that relied on the ability of `ToTokens` to turn AST fragments back into inspectable token trees. For this reason, this closes #16987.

As such, this is a [breaking-change].

Fixes #16472.
Fixes #15962.
Fixes #17397.
Fixes #16617.
2015-04-26 09:52:28 +00:00
..
compiler-rt@58ab642c30
compiletest Auto merge of #24537 - rprichard:fix-parallel-check, r=alexcrichton 2015-04-23 17:32:16 +00:00
doc Auto merge of #24825 - rkruppe:reference-audit, r=steveklabnik 2015-04-26 03:34:38 +00:00
driver
etc
grammar
jemalloc@e24a1a025a
liballoc Change name of unit test sub-module to "tests". 2015-04-24 23:06:41 +02:00
libarena
libbacktrace
libcollections Auto merge of #24783 - jooert:unittestguidelines, r=alexcrichton 2015-04-25 09:55:06 +00:00
libcollectionstest implement rfc 1054: split_whitespace() fn, deprecate words() 2015-04-21 15:31:51 -04:00
libcore Rollup merge of #24772 - steveklabnik:gh24712, r=alexcrichton 2015-04-24 22:54:26 -04:00
libcoretest Change name of unit test sub-module to "tests". 2015-04-24 23:06:41 +02:00
libflate
libfmt_macros
libgetopts implement rfc 1054: split_whitespace() fn, deprecate words() 2015-04-21 15:31:51 -04:00
libgraphviz
liblibc
liblog
librand Change name of unit test sub-module to "tests". 2015-04-24 23:06:41 +02:00
librbml std: Remove deprecated/unstable num functionality 2015-04-21 11:37:43 -07:00
librustc Auto merge of #24367 - ebfull:fix_ice_cat_expr, r=pnkfelix 2015-04-26 05:32:16 +00:00
librustc_back Change name of unit test sub-module to "tests". 2015-04-24 23:06:41 +02:00
librustc_bitflags
librustc_borrowck
librustc_data_structures Change name of unit test sub-module to "tests". 2015-04-24 23:06:41 +02:00
librustc_driver Auto merge of #24553 - nikomatsakis:issue-22779-overconstrained-impl, r=pnkfelix 2015-04-24 21:07:41 +00:00
librustc_lint
librustc_llvm rollup merge of #24635: tamird/llvm-3.5 2015-04-21 15:23:10 -07:00
librustc_privacy
librustc_resolve
librustc_trans rollup merge of #24636: alexcrichton/remove-deprecated 2015-04-21 15:28:53 -07:00
librustc_typeck Auto merge of #24367 - ebfull:fix_ice_cat_expr, r=pnkfelix 2015-04-26 05:32:16 +00:00
librustc_unicode implement rfc 1054: split_whitespace() fn, deprecate words() 2015-04-21 15:31:51 -04:00
librustdoc Change name of unit test sub-module to "tests". 2015-04-24 23:06:41 +02:00
libserialize rollup merge of #24636: alexcrichton/remove-deprecated 2015-04-21 15:28:53 -07:00
libstd add import (fixup #24649) 2015-04-25 22:33:19 +05:30
libsyntax Interpolate AST nodes in quasiquote. 2015-04-25 21:42:10 -04:00
libterm Change name of unit test sub-module to "tests". 2015-04-24 23:06:41 +02:00
libtest rollup merge of #24636: alexcrichton/remove-deprecated 2015-04-21 15:28:53 -07:00
llvm@bff6907697
rt
rust-installer@e54d4823d2 Update rust-installer. Fixes problems with CDPATH 2015-04-22 14:49:01 -07:00
rustbook rustbook: Fixes display of navigation links in README.html. 2015-04-25 00:21:13 +02:00
rustllvm rollup merge of #24635: tamird/llvm-3.5 2015-04-21 15:23:10 -07:00
test Auto merge of #23085 - goffrie:interpolating-quote, r=huonw 2015-04-26 09:52:28 +00:00
snapshots.txt