1 error[E0277]: arrays only have std trait implementations for lengths 0..=32
2 --> $DIR/alloc-traits-no-impls-length-33.rs:1:43
4 LL | pub fn no_vec_partial_eq_array<A, B>() -> impl PartialEq<[B; 33]>
5 | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[B; 33]`
7 = note: required because of the requirements on the impl of `std::cmp::PartialEq<[B; 33]>` for `std::vec::Vec<A>`
8 = note: the return type of a function must have a statically known size
10 error[E0277]: arrays only have std trait implementations for lengths 0..=32
11 --> $DIR/alloc-traits-no-impls-length-33.rs:9:51
13 LL | pub fn no_vec_partial_eq_ref_array<'a, A, B>() -> impl PartialEq<&'a [B; 33]>
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[B; 33]`
16 = note: required because of the requirements on the impl of `std::cmp::PartialEq<&'a [B; 33]>` for `std::vec::Vec<A>`
17 = note: the return type of a function must have a statically known size
19 error[E0277]: arrays only have std trait implementations for lengths 0..=32
20 --> $DIR/alloc-traits-no-impls-length-33.rs:19:48
22 LL | pub fn no_vecdeque_partial_eq_array<A, B>() -> impl PartialEq<[B; 33]>
23 | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[B; 33]`
25 = note: required because of the requirements on the impl of `std::cmp::PartialEq<[B; 33]>` for `std::collections::VecDeque<A>`
26 = note: the return type of a function must have a statically known size
28 error[E0277]: arrays only have std trait implementations for lengths 0..=32
29 --> $DIR/alloc-traits-no-impls-length-33.rs:27:56
31 LL | pub fn no_vecdeque_partial_eq_ref_array<'a, A, B>() -> impl PartialEq<&'a [B; 33]>
32 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[B; 33]`
34 = note: required because of the requirements on the impl of `std::cmp::PartialEq<&'a [B; 33]>` for `std::collections::VecDeque<A>`
35 = note: the return type of a function must have a statically known size
37 error[E0277]: arrays only have std trait implementations for lengths 0..=32
38 --> $DIR/alloc-traits-no-impls-length-33.rs:35:60
40 LL | pub fn no_vecdeque_partial_eq_ref_mut_array<'a, A, B>() -> impl PartialEq<&'a mut [B; 33]>
41 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[B; 33]`
43 = note: required because of the requirements on the impl of `std::cmp::PartialEq<&'a mut [B; 33]>` for `std::collections::VecDeque<A>`
44 = note: the return type of a function must have a statically known size
46 error: aborting due to 5 previous errors
48 For more information about this error, try `rustc --explain E0277`.