diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs index 29030783ca6..af30c494888 100644 --- a/src/libsyntax/ext/expand.rs +++ b/src/libsyntax/ext/expand.rs @@ -1569,11 +1569,6 @@ impl<'feat> ExpansionConfig<'feat> { pub struct Marker(pub Mark); impl Folder for Marker { - fn fold_ident(&mut self, mut ident: Ident) -> Ident { - ident.span = ident.span.apply_mark(self.0); - ident - } - fn new_span(&mut self, span: Span) -> Span { span.apply_mark(self.0) }