fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error[E0277]: arrays only have std trait implementations for lengths 0..=32 2 --> $DIR/into-iter-no-impls-length-33.rs:12:5 3 | 4LL | IntoIter::new([0i32; 33]) 5 | ^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i32; 33]` 6 | 7 = note: required by `std::array::IntoIter::<T, N>::new` 8 9error[E0277]: arrays only have std trait implementations for lengths 0..=32 10 --> $DIR/into-iter-no-impls-length-33.rs:10:25 11 | 12LL | pub fn no_iterator() -> impl Iterator<Item = i32> { 13 | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i32; 33]` 14 | 15 = note: required because of the requirements on the impl of `std::iter::Iterator` for `std::array::IntoIter<i32, 33usize>` 16 = note: the return type of a function must have a statically known size 17 18error[E0277]: arrays only have std trait implementations for lengths 0..=32 19 --> $DIR/into-iter-no-impls-length-33.rs:18:5 20 | 21LL | IntoIter::new([0i32; 33]) 22 | ^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i32; 33]` 23 | 24 = note: required by `std::array::IntoIter::<T, N>::new` 25 26error[E0277]: arrays only have std trait implementations for lengths 0..=32 27 --> $DIR/into-iter-no-impls-length-33.rs:16:38 28 | 29LL | pub fn no_double_ended_iterator() -> impl DoubleEndedIterator { 30 | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i32; 33]` 31 | 32 = note: required because of the requirements on the impl of `std::iter::DoubleEndedIterator` for `std::array::IntoIter<i32, 33usize>` 33 = note: the return type of a function must have a statically known size 34 35error[E0277]: arrays only have std trait implementations for lengths 0..=32 36 --> $DIR/into-iter-no-impls-length-33.rs:24:5 37 | 38LL | IntoIter::new([0i32; 33]) 39 | ^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i32; 33]` 40 | 41 = note: required by `std::array::IntoIter::<T, N>::new` 42 43error[E0277]: arrays only have std trait implementations for lengths 0..=32 44 --> $DIR/into-iter-no-impls-length-33.rs:22:36 45 | 46LL | pub fn no_exact_size_iterator() -> impl ExactSizeIterator { 47 | ^^^^^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i32; 33]` 48 | 49 = note: required because of the requirements on the impl of `std::iter::ExactSizeIterator` for `std::array::IntoIter<i32, 33usize>` 50 = note: the return type of a function must have a statically known size 51 52error[E0277]: arrays only have std trait implementations for lengths 0..=32 53 --> $DIR/into-iter-no-impls-length-33.rs:30:5 54 | 55LL | IntoIter::new([0i32; 33]) 56 | ^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i32; 33]` 57 | 58 = note: required by `std::array::IntoIter::<T, N>::new` 59 60error[E0277]: arrays only have std trait implementations for lengths 0..=32 61 --> $DIR/into-iter-no-impls-length-33.rs:28:31 62 | 63LL | pub fn no_fused_iterator() -> impl FusedIterator { 64 | ^^^^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i32; 33]` 65 | 66 = note: required because of the requirements on the impl of `std::iter::FusedIterator` for `std::array::IntoIter<i32, 33usize>` 67 = note: the return type of a function must have a statically known size 68 69error[E0277]: arrays only have std trait implementations for lengths 0..=32 70 --> $DIR/into-iter-no-impls-length-33.rs:36:5 71 | 72LL | IntoIter::new([0i32; 33]) 73 | ^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i32; 33]` 74 | 75 = note: required by `std::array::IntoIter::<T, N>::new` 76 77error[E0277]: arrays only have std trait implementations for lengths 0..=32 78 --> $DIR/into-iter-no-impls-length-33.rs:34:28 79 | 80LL | pub fn no_trusted_len() -> impl TrustedLen { 81 | ^^^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i32; 33]` 82 | 83 = note: required because of the requirements on the impl of `std::iter::TrustedLen` for `std::array::IntoIter<i32, 33usize>` 84 = note: the return type of a function must have a statically known size 85 86error[E0277]: arrays only have std trait implementations for lengths 0..=32 87 --> $DIR/into-iter-no-impls-length-33.rs:42:5 88 | 89LL | IntoIter::new([0i32; 33]) 90 | ^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i32; 33]` 91 | 92 = note: required by `std::array::IntoIter::<T, N>::new` 93 94error[E0277]: arrays only have std trait implementations for lengths 0..=32 95 --> $DIR/into-iter-no-impls-length-33.rs:40:22 96 | 97LL | pub fn no_clone() -> impl Clone { 98 | ^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i32; 33]` 99 | 100 = note: required because of the requirements on the impl of `std::clone::Clone` for `std::array::IntoIter<i32, 33usize>` 101 = note: the return type of a function must have a statically known size 102 103error[E0277]: arrays only have std trait implementations for lengths 0..=32 104 --> $DIR/into-iter-no-impls-length-33.rs:48:5 105 | 106LL | IntoIter::new([0i32; 33]) 107 | ^^^^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i32; 33]` 108 | 109 = note: required by `std::array::IntoIter::<T, N>::new` 110 111error[E0277]: arrays only have std trait implementations for lengths 0..=32 112 --> $DIR/into-iter-no-impls-length-33.rs:46:22 113 | 114LL | pub fn no_debug() -> impl Debug { 115 | ^^^^^^^^^^ the trait `std::array::LengthAtMost32` is not implemented for `[i32; 33]` 116 | 117 = note: required because of the requirements on the impl of `std::fmt::Debug` for `std::array::IntoIter<i32, 33usize>` 118 = note: the return type of a function must have a statically known size 119 120error: aborting due to 14 previous errors 121 122For more information about this error, try `rustc --explain E0277`.