1
Fork 0

[breaking-change] don't glob export ast::BlockCheckMode variants

This commit is contained in:
Oliver Schneider 2016-02-08 12:44:45 +01:00
parent 3b57d40fe5
commit 47b0784ba8
9 changed files with 24 additions and 27 deletions

View file

@ -9,9 +9,7 @@
// except according to those terms.
use abi;
use ast::{Ident, Generics, Expr};
use ast::UnOp;
use ast;
use ast::{self, Ident, Generics, Expr, BlockCheckMode, UnOp};
use attr;
use codemap::{Span, respan, Spanned, DUMMY_SP, Pos};
use ext::base::ExtCtxt;
@ -575,7 +573,7 @@ impl<'a> AstBuilder for ExtCtxt<'a> {
stmts: stmts,
expr: expr,
id: ast::DUMMY_NODE_ID,
rules: ast::DefaultBlock,
rules: BlockCheckMode::Default,
span: span,
})
}