[breaking-change] remove unused enum ast::PrimTy

This commit is contained in:
Oliver Schneider 2016-02-08 16:35:20 +01:00
parent 08e35d4dec
commit ec61e632c0
1 changed files with 0 additions and 12 deletions

View File

@ -20,7 +20,6 @@ pub use self::MetaItem_::*;
pub use self::Mutability::*; pub use self::Mutability::*;
pub use self::Pat_::*; pub use self::Pat_::*;
pub use self::PathListItem_::*; pub use self::PathListItem_::*;
pub use self::PrimTy::*;
pub use self::Stmt_::*; pub use self::Stmt_::*;
pub use self::StrStyle::*; pub use self::StrStyle::*;
pub use self::StructFieldKind::*; 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)] #[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug)]
pub struct BareFnTy { pub struct BareFnTy {
pub unsafety: Unsafety, pub unsafety: Unsafety,