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?
This commit is contained in:
Mazdak Farrokhzad 2019-09-21 21:24:22 +02:00 committed by GitHub
commit f0e69ffb8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,9 +9,6 @@ use crate::ThinVec;
use rustc_target::spec::abi::Abi; use rustc_target::spec::abi::Abi;
use syntax_pos::{Pos, Span}; 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> { impl<'a> ExtCtxt<'a> {
pub fn path(&self, span: Span, strs: Vec<ast::Ident> ) -> ast::Path { pub fn path(&self, span: Span, strs: Vec<ast::Ident> ) -> ast::Path {
self.path_all(span, false, strs, vec![], vec![]) self.path_all(span, false, strs, vec![], vec![])