Move SmallVec and ThinVec out of libsyntax

This commit is contained in:
ljedrz
2018-08-05 12:04:56 +02:00
parent d5a448b3f4
commit e5e6375352
35 changed files with 245 additions and 245 deletions

View File

@@ -12,6 +12,8 @@ use deriving::path_std;
use deriving::generic::*;
use deriving::generic::ty::*;
use rustc_data_structures::thin_vec::ThinVec;
use syntax::ast::{self, Ident};
use syntax::ast::{Expr, MetaItem};
use syntax::ext::base::{Annotatable, ExtCtxt};
@@ -139,7 +141,7 @@ fn stmt_let_undescore(cx: &mut ExtCtxt, sp: Span, expr: P<ast::Expr>) -> ast::St
init: Some(expr),
id: ast::DUMMY_NODE_ID,
span: sp,
attrs: ast::ThinVec::new(),
attrs: ThinVec::new(),
});
ast::Stmt {
id: ast::DUMMY_NODE_ID,