fully remove AstBuilder

The mentioned Cargo test is fixed in https://github.com/rust-lang/cargo/pull/7210
This commit is contained in:
Aleksey Kladov 2019-09-21 21:33:37 +03:00
parent 16c4011673
commit 53a6a2f322

View File

@ -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![])