Remove unused types UnusedGenericParams and FiniteBitSet

These types have been unused since polymorphization was removed in
<https://github.com/rust-lang/rust/pull/133883>.
This commit is contained in:
Zalathar
2026-03-18 10:36:19 +11:00
parent 85e19b8ce8
commit fb850aebcd
7 changed files with 4 additions and 184 deletions
@@ -555,15 +555,6 @@ fn hash_stable(&self, _ctx: &mut CTX, hasher: &mut StableHasher) {
}
}
impl<T, CTX> HashStable<CTX> for bit_set::FiniteBitSet<T>
where
T: HashStable<CTX> + bit_set::FiniteBitSetTy,
{
fn hash_stable(&self, hcx: &mut CTX, hasher: &mut StableHasher) {
self.0.hash_stable(hcx, hasher);
}
}
impl_stable_traits_for_trivial_type!(::std::ffi::OsStr);
impl_stable_traits_for_trivial_type!(::std::path::Path);