error[E0277]: `Inner` is not a formars `FormSchema`
--> tests/ui/nested_missing_derive.rs:9:12
|
9 | inner: Inner,
| ^^^^^ nested form fields require `#[derive(FormSchema)]` (crate `formars-derive`) or a manual `FormSchema` impl
|
help: the trait `FormSchema` is not implemented for `Inner`
--> tests/ui/nested_missing_derive.rs:3:1
|
3 | struct Inner {
| ^^^^^^^^^^^^
= note: add `#[derive(FormSchema)]` on `Inner`, or use `#[form(schema = <expr>)]` on the field
help: the trait `FormSchema` is implemented for `Outer`
--> tests/ui/nested_missing_derive.rs:7:10
|
7 | #[derive(FormSchema)]
| ^^^^^^^^^^
= note: this error originates in the derive macro `FormSchema` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: `Inner` is not a formars `FormSchema`
--> tests/ui/nested_missing_derive.rs:9:5
|
9 | inner: Inner,
| ^^^^^ nested form fields require `#[derive(FormSchema)]` (crate `formars-derive`) or a manual `FormSchema` impl
|
help: the trait `FormSchema` is not implemented for `Inner`
--> tests/ui/nested_missing_derive.rs:3:1
|
3 | struct Inner {
| ^^^^^^^^^^^^
= note: add `#[derive(FormSchema)]` on `Inner`, or use `#[form(schema = <expr>)]` on the field
help: the trait `FormSchema` is implemented for `Outer`
--> tests/ui/nested_missing_derive.rs:7:10
|
7 | #[derive(FormSchema)]
| ^^^^^^^^^^
= note: this error originates in the derive macro `FormSchema` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Inner: FormBridge` is not satisfied
--> tests/ui/nested_missing_derive.rs:9:12
|
9 | inner: Inner,
| ^^^^^ unsatisfied trait bound
|
help: the trait `FormBridge` is not implemented for `Inner`
--> tests/ui/nested_missing_derive.rs:3:1
|
3 | struct Inner {
| ^^^^^^^^^^^^
= help: the following other types implement trait `FormBridge`:
Outer
bool
f32
f64
i16
i32
i64
i8
and $N others
error[E0277]: the trait bound `Inner: FormBridge` is not satisfied
--> tests/ui/nested_missing_derive.rs:9:5
|
9 | inner: Inner,
| ^^^^^ unsatisfied trait bound
|
help: the trait `FormBridge` is not implemented for `Inner`
--> tests/ui/nested_missing_derive.rs:3:1
|
3 | struct Inner {
| ^^^^^^^^^^^^
= help: the following other types implement trait `FormBridge`:
Outer
bool
f32
f64
i16
i32
i64
i8
and $N others