diff options
| author | bors <bors@rust-lang.org> | 2017-03-01 05:58:09 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-03-01 05:58:09 +0000 |
| commit | 7ce1fbe1f7fe5cdbec57377d76306e2bc7811bce (patch) | |
| tree | 0fb917efd8b1fe14e7fbf49c4c01c8f0f7504af4 /src/test/incremental/thinlto | |
| parent | 2f52386f1072755d1b9973014e8e1d4b383e8eef (diff) | |
| parent | 839398a0b4a5b77fe3dd351107b1cbe45e1004de (diff) | |
| download | rust-7ce1fbe1f7fe5cdbec57377d76306e2bc7811bce.tar.gz rust-7ce1fbe1f7fe5cdbec57377d76306e2bc7811bce.zip | |
Auto merge of #39419 - jseyfried:simplify_tokentree, r=nrc
Simplify `TokenTree` and fix `macro_rules!` bugs This PR - fixes #39390, fixes #39403, and fixes #39404 (each is a [breaking-change], see issues for examples), - fixes #39889, - simplifies and optimizes macro invocation parsing, - cleans up `ext::tt::transcribe`, - removes `tokenstream::TokenTree::Sequence` and `Token::MatchNt`, - instead, adds a new type `ext::tt::quoted::TokenTree` for use by `macro_rules!` (`ext::tt`) - removes `parser.quote_depth` and `parser.parsing_token_tree`, and - removes `quote_matcher!`. - Instead, use `quote_tokens!` and `ext::tt::quoted::parse` the result with `expect_matchers=true`. - I found no outside uses of `quote_matcher!` when searching Rust code on Github. r? @nrc
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
