Skip to content

Commit ec61e63

Browse files
committed
[breaking-change] remove unused enum ast::PrimTy
1 parent 08e35d4 commit ec61e63

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/libsyntax/ast.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ pub use self::MetaItem_::*;
2020
pub use self::Mutability::*;
2121
pub use self::Pat_::*;
2222
pub use self::PathListItem_::*;
23-
pub use self::PrimTy::*;
2423
pub use self::Stmt_::*;
2524
pub use self::StrStyle::*;
2625
pub use self::StructFieldKind::*;
@@ -1534,17 +1533,6 @@ impl fmt::Debug for Ty {
15341533
}
15351534
}
15361535

1537-
/// Not represented directly in the AST, referred to by name through a ty_path.
1538-
#[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug, Copy)]
1539-
pub enum PrimTy {
1540-
TyInt(IntTy),
1541-
TyUint(UintTy),
1542-
TyFloat(FloatTy),
1543-
TyStr,
1544-
TyBool,
1545-
TyChar
1546-
}
1547-
15481536
#[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug)]
15491537
pub struct BareFnTy {
15501538
pub unsafety: Unsafety,

0 commit comments

Comments
 (0)