2021-07-23 19:51:47 -05:00
|
|
|
error[E0277]: the trait bound `[bool; 2]: From<[bool; 3]>` is not satisfied
|
2022-12-18 05:52:46 -06:00
|
|
|
--> fail/interface/trait/argument_wrong_default_array.rs:3:1
|
2022-01-26 12:58:53 -06:00
|
|
|
|
|
|
|
|
3 | #[graphql_interface]
|
2024-03-22 10:59:31 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^ the trait `From<[bool; 3]>` is not implemented for `[bool; 2]`, which is required by `[bool; 3]: Into<_>`
|
2022-01-26 12:58:53 -06:00
|
|
|
|
|
2022-04-08 09:44:50 -05:00
|
|
|
= help: the following other types implement trait `From<T>`:
|
2024-09-09 07:50:37 -05:00
|
|
|
`[T; 10]` implements `From<(T, T, T, T, T, T, T, T, T, T)>`
|
|
|
|
`[T; 11]` implements `From<(T, T, T, T, T, T, T, T, T, T, T)>`
|
|
|
|
`[T; 12]` implements `From<(T, T, T, T, T, T, T, T, T, T, T, T)>`
|
|
|
|
`[T; 1]` implements `From<(T,)>`
|
|
|
|
`[T; 2]` implements `From<(T, T)>`
|
|
|
|
`[T; 3]` implements `From<(T, T, T)>`
|
|
|
|
`[T; 4]` implements `From<(T, T, T, T)>`
|
|
|
|
`[T; 5]` implements `From<(T, T, T, T, T)>`
|
2022-12-18 05:52:46 -06:00
|
|
|
and $N others
|
2022-08-29 09:10:40 -05:00
|
|
|
= note: required for `[bool; 3]` to implement `Into<[bool; 2]>`
|
2022-12-18 05:52:46 -06:00
|
|
|
= note: this error originates in the attribute macro `graphql_interface` (in Nightly builds, run with -Z macro-backtrace for more info)
|