move syntax::ext to new crate syntax_expand

This commit is contained in:
Mazdak Farrokhzad
2019-10-16 10:59:30 +02:00
parent d160a4e422
commit d420d719c4
113 changed files with 500 additions and 430 deletions

View File

@@ -186,12 +186,12 @@ use rustc_target::spec::abi::Abi;
use syntax::ast::{self, BinOpKind, EnumDef, Expr, Generics, Ident, PatKind};
use syntax::ast::{VariantData, GenericParamKind, GenericArg};
use syntax::attr;
use syntax::ext::base::{Annotatable, ExtCtxt, SpecialDerives};
use syntax::source_map::respan;
use syntax::util::map_in_place::MapInPlace;
use syntax::ptr::P;
use syntax::sess::ParseSess;
use syntax::symbol::{Symbol, kw, sym};
use syntax_expand::base::{Annotatable, ExtCtxt, SpecialDerives};
use syntax_pos::{Span};
use ty::{LifetimeBounds, Path, Ptr, PtrTy, Self_, Ty};