@@ -1170,22 +1170,6 @@ impl mono_id_ : cmp::Eq {
11701170 pure fn ne(&self, other: &mono_id_) -> bool { !(*self).eq(other) }
11711171}
11721172
1173- #[cfg(stage0)]
1174- impl mono_param_id : to_bytes::IterBytes {
1175- pure fn iter_bytes(+lsb0: bool, f: to_bytes::Cb) {
1176- match self {
1177- mono_precise(t, mids) =>
1178- to_bytes::iter_bytes_3(&0u8, &ty::type_id(t), &mids, lsb0, f),
1179-
1180- mono_any => 1u8.iter_bytes(lsb0, f),
1181-
1182- mono_repr(ref a, ref b, ref c, ref d) =>
1183- to_bytes::iter_bytes_5(&2u8, a, b, c, d, lsb0, f)
1184- }
1185- }
1186- }
1187- #[cfg(stage1)]
1188- #[cfg(stage2)]
11891173impl mono_param_id : to_bytes::IterBytes {
11901174 pure fn iter_bytes(&self, +lsb0: bool, f: to_bytes::Cb) {
11911175 match *self {
@@ -1200,14 +1184,6 @@ impl mono_param_id : to_bytes::IterBytes {
12001184 }
12011185}
12021186
1203- #[cfg(stage0)]
1204- impl mono_id_ : core::to_bytes::IterBytes {
1205- pure fn iter_bytes(+lsb0: bool, f: to_bytes::Cb) {
1206- to_bytes::iter_bytes_2(&self.def, &self.params, lsb0, f);
1207- }
1208- }
1209- #[cfg(stage1)]
1210- #[cfg(stage2)]
12111187impl mono_id_ : core::to_bytes::IterBytes {
12121188 pure fn iter_bytes(&self, +lsb0: bool, f: to_bytes::Cb) {
12131189 to_bytes::iter_bytes_2(&self.def, &self.params, lsb0, f);
0 commit comments