bump bootstrap compiler to 1.55

This commit is contained in:
Pietro Albini
2021-07-30 14:46:56 +02:00
committed by Mark Rousskov
parent 8d57c0ab2b
commit 24f9de5a44
11 changed files with 6 additions and 24 deletions

View File

@@ -125,11 +125,6 @@ impl<T: PartialEq<Other>, Other, const N: usize> SpecArrayEq<Other, N> for T {
}
impl<T: PartialEq<U> + IsRawEqComparable<U>, U, const N: usize> SpecArrayEq<U, N> for T {
#[cfg(bootstrap)]
fn spec_eq(a: &[T; N], b: &[U; N]) -> bool {
a[..] == b[..]
}
#[cfg(not(bootstrap))]
fn spec_eq(a: &[T; N], b: &[U; N]) -> bool {
// SAFETY: This is why `IsRawEqComparable` is an `unsafe trait`.
unsafe {