about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-09-21 21:24:22 +0200
committerGitHub <noreply@github.com>2019-09-21 21:24:22 +0200
commitf0e69ffb8d4385aa7daf24e2cc5088e0e5dd4db0 (patch)
tree3cb11a98eae84b5d69bf515178f96a999276ed76 /src/libsyntax
parent7eac55518afabd212a06e9a7f73f2c0a51e7a4f7 (diff)
parent53a6a2f3226652e212bba6fcf37166a2fe3ecfca (diff)
downloadrust-f0e69ffb8d4385aa7daf24e2cc5088e0e5dd4db0.tar.gz
rust-f0e69ffb8d4385aa7daf24e2cc5088e0e5dd4db0.zip
Rollup merge of #64664 - matklad:remove-ast-builder, r=Mark-Simulacrum
fully remove AstBuilder

The mentioned Cargo test is fixed in https://github.com/rust-lang/cargo/pull/7210

I think this can be removed now?
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ext/build.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libsyntax/ext/build.rs b/src/libsyntax/ext/build.rs
index f1d0e0b68f7..60560ae96de 100644
--- a/src/libsyntax/ext/build.rs
+++ b/src/libsyntax/ext/build.rs
@@ -9,9 +9,6 @@ use crate::ThinVec;
 use rustc_target::spec::abi::Abi;
 use syntax_pos::{Pos, Span};
 
-// Left so that Cargo tests don't break, this can be removed once those no longer use it
-pub trait AstBuilder {}
-
 impl<'a> ExtCtxt<'a> {
     pub fn path(&self, span: Span, strs: Vec<ast::Ident> ) -> ast::Path {
         self.path_all(span, false, strs, vec![], vec![])