about summary refs log tree commit diff
path: root/src/libsyntax/ast.rs
diff options
context:
space:
mode:
authorOliver 'ker' Schneider <git-spam-no-reply9815368754983@oli-obk.de>2016-02-09 17:44:47 +0100
committerOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>2016-02-11 12:34:48 +0100
commit73fa9b2da2ee82c91a5c8d605b91f22f19e4d74b (patch)
treec860b482cbc076ac8a87745b5b8f23b88c49d25d /src/libsyntax/ast.rs
parent14e09ad4686bb20a98acfd7d930386f6330d2b4d (diff)
downloadrust-73fa9b2da2ee82c91a5c8d605b91f22f19e4d74b.tar.gz
rust-73fa9b2da2ee82c91a5c8d605b91f22f19e4d74b.zip
[breaking-change] don't glob export ast::Mutablity variants
Diffstat (limited to 'src/libsyntax/ast.rs')
-rw-r--r--src/libsyntax/ast.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs
index a3a59b7898b..cfaa5fc4a96 100644
--- a/src/libsyntax/ast.rs
+++ b/src/libsyntax/ast.rs
@@ -10,7 +10,6 @@
 
 // The Rust abstract syntax tree.
 
-pub use self::Mutability::*;
 pub use self::Pat_::*;
 pub use self::PathListItem_::*;
 pub use self::StrStyle::*;
@@ -602,8 +601,8 @@ pub enum Pat_ {
 
 #[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug, Copy)]
 pub enum Mutability {
-    MutMutable,
-    MutImmutable,
+    Mutable,
+    Immutable,
 }
 
 #[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug, Copy)]