[breaking-change] don't glob export ast::FloatTy variants
This commit is contained in:
parent
80bf9ae18a
commit
ccf48bcd40
14 changed files with 37 additions and 38 deletions
|
|
@ -94,8 +94,8 @@ pub fn enc_ty<'a, 'tcx>(w: &mut Cursor<Vec<u8>>, cx: &ctxt<'a, 'tcx>, t: Ty<'tcx
|
|||
}
|
||||
ty::TyFloat(t) => {
|
||||
match t {
|
||||
ast::TyF32 => write!(w, "Mf"),
|
||||
ast::TyF64 => write!(w, "MF"),
|
||||
ast::FloatTy::F32 => write!(w, "Mf"),
|
||||
ast::FloatTy::F64 => write!(w, "MF"),
|
||||
};
|
||||
}
|
||||
ty::TyEnum(def, substs) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue