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