2021-08-11 09:41:49 -05:00
|
|
|
error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied
|
2021-12-20 06:50:49 -06:00
|
|
|
--> fail/object/argument_wrong_default_array.rs:5:1
|
2021-08-11 09:41:49 -05:00
|
|
|
|
|
|
|
|
5 | #[graphql_object]
|
|
|
|
| ^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]`
|
|
|
|
|
|
2022-04-08 09:44:50 -05:00
|
|
|
= help: the following other types implement trait `From<T>`:
|
2022-03-03 07:49:35 -06:00
|
|
|
<&'a [ascii::ascii_char::AsciiChar] as From<&'a ascii::ascii_str::AsciiStr>>
|
2022-04-01 13:10:45 -05:00
|
|
|
<&'a [u32; 4] as From<&'a ppv_lite86::x86_64::vec128_storage>>
|
2022-03-03 07:49:35 -06:00
|
|
|
<&'a [u8] as From<&'a ascii::ascii_str::AsciiStr>>
|
|
|
|
<&'a mut [ascii::ascii_char::AsciiChar] as From<&'a mut ascii::ascii_str::AsciiStr>>
|
2022-04-08 09:44:50 -05:00
|
|
|
<[T; LANES] as From<Simd<T, LANES>>>
|
|
|
|
<[bool; LANES] as From<Mask<T, LANES>>>
|
|
|
|
<[u128; 1] as From<ppv_lite86::x86_64::vec128_storage>>
|
|
|
|
<[u128; 2] as From<ppv_lite86::x86_64::vec256_storage>>
|
|
|
|
and 7 others
|
2021-08-11 09:41:49 -05:00
|
|
|
= note: required because of the requirements on the impl of `Into<[bool; 2]>` for `[bool; 3]`
|
|
|
|
= note: this error originates in the attribute macro `graphql_object` (in Nightly builds, run with -Z macro-backtrace for more info)
|