mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
* Fix tests * Remove generics from virtual dom * Prep for degenerify * Fix examples * Remove props cloning * Fix tests
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
error: expected `props(required)`
|
|
--> $DIR/fail.rs:20:11
|
|
|
|
|
20 | #[props(optional)]
|
|
| ^^^^^
|
|
|
|
error[E0277]: the trait bound `t1::Value: std::default::Default` is not satisfied
|
|
--> $DIR/fail.rs:8:14
|
|
|
|
|
8 | #[derive(Properties)]
|
|
| ^^^^^^^^^^ the trait `std::default::Default` is not implemented for `t1::Value`
|
|
|
|
|
= note: required by `std::default::Default::default`
|
|
|
|
error[E0599]: no method named `build` found for type `t3::PropsBuilder<t3::PropsBuilderStep_missing_required_prop_value>` in the current scope
|
|
--> $DIR/fail.rs:34:26
|
|
|
|
|
27 | #[derive(Properties)]
|
|
| - method `build` not found for this
|
|
...
|
|
34 | Props::builder().build();
|
|
| ^^^^^ method not found in `t3::PropsBuilder<t3::PropsBuilderStep_missing_required_prop_value>`
|
|
|
|
error[E0599]: no method named `b` found for type `t4::PropsBuilder<t4::PropsBuilderStep_missing_required_prop_a>` in the current scope
|
|
--> $DIR/fail.rs:48:26
|
|
|
|
|
40 | #[derive(Properties)]
|
|
| - method `b` not found for this
|
|
...
|
|
48 | Props::builder().b(1).a(2).build();
|
|
| ^ help: there is a method with a similar name: `a`
|