diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2018-12-20 09:50:14 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2018-12-20 10:18:16 +1100 |
| commit | e7c5146c5d801c020f13c81b8b550f465c33d03a (patch) | |
| tree | b0898b1ea0a02fc40221390b123f94ab4cfe1fd7 /src/test/incremental/thinlto | |
| parent | c6fb01d62916afa0c489670b665a39d1fe903a4a (diff) | |
| download | rust-e7c5146c5d801c020f13c81b8b550f465c33d03a.tar.gz rust-e7c5146c5d801c020f13c81b8b550f465c33d03a.zip | |
Remove `TokenStream::JointTree`.
This is done by adding a new `IsJoint` field to `TokenStream::Tree`, which simplifies a lot of `match` statements. And likewise for `CursorKind`. The commit also adds a new method `TokenTree:stream()` which can replace a choice between `.into()` and `.joint()`.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
