about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>2016-02-08 16:35:20 +0100
committerOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>2016-02-11 12:34:48 +0100
commitec61e632c0a00ccc2ca0494d5d3c8a0848c574f2 (patch)
tree0b46a0004b1f33f044e79c1049abaea57fa63d53 /src/libsyntax
parent08e35d4deca064cbe079ee278aab49efff16f7da (diff)
downloadrust-ec61e632c0a00ccc2ca0494d5d3c8a0848c574f2.tar.gz
rust-ec61e632c0a00ccc2ca0494d5d3c8a0848c574f2.zip
[breaking-change] remove unused enum ast::PrimTy
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/ast.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs
index 464e9da3724..d06ed4be978 100644
--- a/src/libsyntax/ast.rs
+++ b/src/libsyntax/ast.rs
@@ -20,7 +20,6 @@ pub use self::MetaItem_::*;
 pub use self::Mutability::*;
 pub use self::Pat_::*;
 pub use self::PathListItem_::*;
-pub use self::PrimTy::*;
 pub use self::Stmt_::*;
 pub use self::StrStyle::*;
 pub use self::StructFieldKind::*;
@@ -1534,17 +1533,6 @@ impl fmt::Debug for Ty {
     }
 }
 
-/// Not represented directly in the AST, referred to by name through a ty_path.
-#[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug, Copy)]
-pub enum PrimTy {
-    TyInt(IntTy),
-    TyUint(UintTy),
-    TyFloat(FloatTy),
-    TyStr,
-    TyBool,
-    TyChar
-}
-
 #[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug)]
 pub struct BareFnTy {
     pub unsafety: Unsafety,