Replace AstBuilder with inherent methods

This commit is contained in:
Mark Rousskov
2019-07-31 07:40:32 -04:00
parent c9bd4a05bf
commit 0f985817bd
30 changed files with 130 additions and 435 deletions

View File

@@ -7,7 +7,6 @@ use rustc_data_structures::thin_vec::ThinVec;
use syntax::ast::{self, Ident};
use syntax::ast::{Expr, MetaItem};
use syntax::ext::base::{Annotatable, ExtCtxt};
use syntax::ext::build::AstBuilder;
use syntax::ptr::P;
use syntax::symbol::sym;
use syntax_pos::{DUMMY_SP, Span};