Skip to content

Commit 4845b35

Browse files
committed
general fixes
1 parent 4f50485 commit 4845b35

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

compiler/rustc_middle/src/ty/impls_ty.rs

-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for ty::subst::GenericArgKin
9999
}
100100
ty::subst::GenericArgKind::Constness(constness) => {
101101
0xFFu8.hash_stable(hcx, hasher);
102-
mem::discriminant(self).hash_stable(hcx, hasher);
103102
constness.hash_stable(hcx, hasher);
104103
}
105104
}

compiler/rustc_middle/src/ty/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@ impl fmt::Display for ConstnessArg {
329329

330330
#[derive(Clone, Debug, PartialEq, Eq, Copy, Hash, TyEncodable, TyDecodable, HashStable)]
331331
#[derive(TypeFoldable, TypeVisitable)]
332-
>>>>>>> Add new generic param
333332
pub struct ClosureSizeProfileData<'tcx> {
334333
/// Tuple containing the types of closure captures before the feature `capture_disjoint_fields`
335334
pub before_feature_tys: Ty<'tcx>,

0 commit comments

Comments
 (0)