You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As it stands, the test for const-generics fails for version 1.51.0
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
error[E0277]: `[T; N]` is not an iterator
--> tests/pass/13-const-generics.rs:11:33
|
11 | IntoIterator::into_iter(arr).collect()
| ^^^
| |
| expected an implementor of trait `IntoIterator`
| help: consider borrowing here: `&arr`
|
= note: the trait bound `[T; N]: IntoIterator` is not satisfied
= note: required because of the requirements on the impl of `IntoIterator` for `[T; N]`
= note: required by `into_iter`
error[E0599]: the method `collect` exists for array `[T; N]`, but its trait bounds were not satisfied
--> tests/pass/13-const-generics.rs:11:38
|
11 | IntoIterator::into_iter(arr).collect()
| ^^^^^^^ method cannot be called on `[T; N]` due to unsatisfied trait bounds
|
= note: the following trait bounds were not satisfied:
`[T; N]: Iterator`
which is required by `&mut [T; N]: Iterator`
`[T]: Iterator`
which is required by `&mut [T]: Iterator`
┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
Finding a simpler test that works would allow test runs for 1.50.0
The text was updated successfully, but these errors were encountered:
As it stands, the test for const-generics fails for version 1.51.0
Finding a simpler test that works would allow test runs for 1.50.0
The text was updated successfully, but these errors were encountered: