Skip to content

Commit

Permalink
fully remove AstBuilder
Browse files Browse the repository at this point in the history
The mentioned Cargo test is fixed in rust-lang/cargo#7210
  • Loading branch information
matklad committed Sep 21, 2019
1 parent 16c4011 commit 53a6a2f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/libsyntax/ext/build.rs
Expand Up @@ -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![])
Expand Down

0 comments on commit 53a6a2f

Please sign in to comment.