[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

@@ -10,7 +10,6 @@
// The Rust abstract syntax tree.
pub use self::BlockCheckMode::*;
pub use self::CaptureClause::*;
pub use self::Decl_::*;
pub use self::ExplicitSelf_::*;
@@ -870,8 +869,8 @@ pub type SpannedIdent = Spanned<Ident>;
#[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug, Copy)]
pub enum BlockCheckMode {
DefaultBlock,
UnsafeBlock(UnsafeSource),
Default,
Unsafe(UnsafeSource),
}
#[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug, Copy)]