2021-08-11 17:41:49 +03:00
|
|
|
error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied
|
2022-12-18 12:52:46 +01:00
|
|
|
--> fail/object/argument_wrong_default_array.rs:5:1
|
2021-08-11 17:41:49 +03:00
|
|
|
|
|
|
|
|
5 | #[graphql_object]
|
2024-03-22 17:59:31 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]`, which is required by `[bool; 3]: Into<_>`
|
2021-08-11 17:41:49 +03:00
|
|
|
|
|
2022-04-08 17:44:50 +03:00
|
|
|
= help: the following other types implement trait `From<T>`:
|
2024-02-09 17:23:01 +02:00
|
|
|
<[bool; N] as From<Mask<T, N>>>
|
2024-03-20 15:53:25 +01:00
|
|
|
<[T; N] as From<Simd<T, N>>>
|
|
|
|
<[T; 1] as From<(T,)>>
|
|
|
|
<[T; 2] as From<(T, T)>>
|
|
|
|
<[T; 3] as From<(T, T, T)>>
|
|
|
|
<[T; 4] as From<(T, T, T, T)>>
|
|
|
|
<[T; 5] as From<(T, T, T, T, T)>>
|
|
|
|
<[T; 6] as From<(T, T, T, T, T, T)>>
|
2022-12-18 12:52:46 +01:00
|
|
|
and $N others
|
2022-08-29 17:10:40 +03:00
|
|
|
= note: required for `[bool; 3]` to implement `Into<[bool; 2]>`
|
2022-12-18 12:52:46 +01:00
|
|
|
= note: this error originates in the attribute macro `graphql_object` (in Nightly builds, run with -Z macro-backtrace for more info)
|