Skip to content

Commit

Permalink
Rollup merge of rust-lang#64664 - matklad:remove-ast-builder, r=Mark-…
Browse files Browse the repository at this point in the history
…Simulacrum

fully remove AstBuilder

The mentioned Cargo test is fixed in rust-lang/cargo#7210

I think this can be removed now?
  • Loading branch information
Centril authored Sep 21, 2019
2 parents 7eac555 + 53a6a2f commit f0e69ff
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/libsyntax/ext/build.rs
Original file line number Diff line number Diff line change
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 f0e69ff

Please sign in to comment.