Box Block, fn_decl, variant and Ty in the AST, as they were inflating critical enum sizes.
This commit is contained in:
parent
80991bb578
commit
a9c4b18b18
60 changed files with 623 additions and 640 deletions
|
@ -39,9 +39,7 @@ pub fn expr_requires_semi_to_be_stmt(e: @ast::Expr) -> bool {
|
|||
|
||||
pub fn expr_is_simple_block(e: @ast::Expr) -> bool {
|
||||
match e.node {
|
||||
ast::ExprBlock(
|
||||
ast::Block { rules: ast::DefaultBlock, .. }
|
||||
) => true,
|
||||
ast::ExprBlock(block) => block.rules == ast::DefaultBlock,
|
||||
_ => false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue