[breaking-change] don't glob export ast::BlockCheckMode variants
This commit is contained in:
parent
3b57d40fe5
commit
47b0784ba8
9 changed files with 24 additions and 27 deletions
|
@ -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,
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue