From d8b34e9a74a4e91c4283ba4002a050ac0150cec6 Mon Sep 17 00:00:00 2001 From: Jeffrey Seyfried Date: Sun, 29 Jan 2017 08:38:44 +0000 Subject: Add `syntax::ext::tt::quoted::{TokenTree, ..}` and remove `tokenstream::TokenTree::Sequence`. --- src/libsyntax/fold.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/libsyntax/fold.rs') diff --git a/src/libsyntax/fold.rs b/src/libsyntax/fold.rs index 1ee070cb92d..c33d945d60e 100644 --- a/src/libsyntax/fold.rs +++ b/src/libsyntax/fold.rs @@ -551,13 +551,6 @@ pub fn noop_fold_tt(tt: &TokenTree, fld: &mut T) -> TokenTree { } )) }, - TokenTree::Sequence(span, ref seq) => - TokenTree::Sequence(fld.new_span(span), - Rc::new(SequenceRepetition { - tts: fld.fold_tts(&seq.tts), - separator: seq.separator.clone().map(|tok| fld.fold_token(tok)), - ..**seq - })), } } -- cgit 1.4.1-3-g733a5