1
Fork 0

Box Block, fn_decl, variant and Ty in the AST, as they were inflating critical enum sizes.

This commit is contained in:
Eduard Burtescu 2013-12-01 00:00:39 +02:00
parent 80991bb578
commit a9c4b18b18
60 changed files with 623 additions and 640 deletions

View file

@ -115,7 +115,7 @@ pub struct Function {
}
pub struct Typedef {
ty: ast::Ty,
ty: ast::P<ast::Ty>,
gen: ast::Generics,
name: Ident,
id: ast::NodeId,
@ -125,7 +125,7 @@ pub struct Typedef {
}
pub struct Static {
type_: ast::Ty,
type_: ast::P<ast::Ty>,
mutability: ast::Mutability,
expr: @ast::Expr,
name: Ident,
@ -149,7 +149,7 @@ pub struct Trait {
pub struct Impl {
generics: ast::Generics,
trait_: Option<ast::trait_ref>,
for_: ast::Ty,
for_: ast::P<ast::Ty>,
methods: ~[@ast::method],
attrs: ~[ast::Attribute],
where: Span,