about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-07-24 04:59:46 +0000
committerbors <bors@rust-lang.org>2017-07-24 04:59:46 +0000
commit9a70c3a3724c53be88023ae7c0e1c9e7c89c3e1f (patch)
treedc03c95dc1ddb0eff340743673c6f32bd2896cc2 /src/test/debuginfo/enum-thinlto.rs
parent6e0dc54872c11b07d70143caa2ddc87aeca17362 (diff)
parentb525abb7b2f6706e6f698dff5070484fec2dc017 (diff)
downloadrust-9a70c3a3724c53be88023ae7c0e1c9e7c89c3e1f.tar.gz
rust-9a70c3a3724c53be88023ae7c0e1c9e7c89c3e1f.zip
Auto merge of #43280 - lfairy:token-tree-iter-clone, r=nrc
Add #[derive(Clone)] to TokenTreeIter

I've found this useful for writing backtracking parsers.

The underlying `Cursor` implements `Clone` already, so it's just a matter of adding `#[derive(Clone)]` to the type.

r? @jseyfried
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions