@@ -434,50 +434,23 @@ error[E0277]: the trait bound `(): IntoPropValue<Option<implicit_clone::unsync::
43443443 | html! { <input type={()} /> };
435435 | ^^ the trait `IntoPropValue<Option<implicit_clone::unsync::IString>>` is not implemented for `()`
436436 |
437- = help: the following other types implement trait `IntoPropValue<T>`:
438- <&'static [(K, V)] as IntoPropValue<implicit_clone::unsync::IMap<K, V>>>
439- <&'static [T] as IntoPropValue<implicit_clone::unsync::IArray<T>>>
440- <&'static str as IntoPropValue<Classes>>
441- <&'static str as IntoPropValue<Option<String>>>
442- <&'static str as IntoPropValue<Option<implicit_clone::unsync::IString>>>
443- <&'static str as IntoPropValue<String>>
444- <&'static str as IntoPropValue<implicit_clone::unsync::IString>>
445- <&T as IntoPropValue<Option<T>>>
446- and $N others
437+ = help: the trait `IntoPropValue<VNode>` is implemented for `()`
447438
448439error[E0277]: the trait bound `(): IntoPropValue<Option<implicit_clone::unsync::IString>>` is not satisfied
449440 --> tests/html_macro/element-fail.rs:44:27
450441 |
45144244 | html! { <input value={()} /> };
452443 | ^^ the trait `IntoPropValue<Option<implicit_clone::unsync::IString>>` is not implemented for `()`
453444 |
454- = help: the following other types implement trait `IntoPropValue<T>`:
455- <&'static [(K, V)] as IntoPropValue<implicit_clone::unsync::IMap<K, V>>>
456- <&'static [T] as IntoPropValue<implicit_clone::unsync::IArray<T>>>
457- <&'static str as IntoPropValue<Classes>>
458- <&'static str as IntoPropValue<Option<String>>>
459- <&'static str as IntoPropValue<Option<implicit_clone::unsync::IString>>>
460- <&'static str as IntoPropValue<String>>
461- <&'static str as IntoPropValue<implicit_clone::unsync::IString>>
462- <&T as IntoPropValue<Option<T>>>
463- and $N others
445+ = help: the trait `IntoPropValue<VNode>` is implemented for `()`
464446
465447error[E0277]: the trait bound `(): IntoPropValue<Option<implicit_clone::unsync::IString>>` is not satisfied
466448 --> tests/html_macro/element-fail.rs:45:22
467449 |
46845045 | html! { <a href={()} /> };
469451 | ^^ the trait `IntoPropValue<Option<implicit_clone::unsync::IString>>` is not implemented for `()`
470452 |
471- = help: the following other types implement trait `IntoPropValue<T>`:
472- <&'static [(K, V)] as IntoPropValue<implicit_clone::unsync::IMap<K, V>>>
473- <&'static [T] as IntoPropValue<implicit_clone::unsync::IArray<T>>>
474- <&'static str as IntoPropValue<Classes>>
475- <&'static str as IntoPropValue<Option<String>>>
476- <&'static str as IntoPropValue<Option<implicit_clone::unsync::IString>>>
477- <&'static str as IntoPropValue<String>>
478- <&'static str as IntoPropValue<implicit_clone::unsync::IString>>
479- <&T as IntoPropValue<Option<T>>>
480- and $N others
453+ = help: the trait `IntoPropValue<VNode>` is implemented for `()`
481454
482455error[E0277]: the trait bound `NotToString: IntoPropValue<Option<implicit_clone::unsync::IString>>` is not satisfied
483456 --> tests/html_macro/element-fail.rs:46:28
@@ -493,7 +466,7 @@ error[E0277]: the trait bound `NotToString: IntoPropValue<Option<implicit_clone:
493466 <&'static str as IntoPropValue<Option<implicit_clone::unsync::IString>>>
494467 <&'static str as IntoPropValue<String>>
495468 <&'static str as IntoPropValue<implicit_clone::unsync::IString>>
496- <&T as IntoPropValue<Option<T> >>
469+ <&String as IntoPropValue<VNode >>
497470 and $N others
498471
499472error[E0277]: the trait bound `Option<NotToString>: IntoPropValue<Option<implicit_clone::unsync::IString>>` is not satisfied
@@ -510,6 +483,7 @@ error[E0277]: the trait bound `Option<NotToString>: IntoPropValue<Option<implici
510483 <Option<Rc<str>> as IntoPropValue<Option<implicit_clone::unsync::IString>>>
511484 <Option<String> as IntoPropValue<Option<implicit_clone::unsync::IString>>>
512485 <Option<VChild<T>> as IntoPropValue<Option<ChildrenRenderer<C>>>>
486+ <Option<VNode> as IntoPropValue<VNode>>
513487
514488error[E0277]: the trait bound `Option<{integer}>: IntoPropValue<Option<implicit_clone::unsync::IString>>` is not satisfied
515489 --> tests/html_macro/element-fail.rs:48:22
@@ -525,6 +499,7 @@ error[E0277]: the trait bound `Option<{integer}>: IntoPropValue<Option<implicit_
525499 <Option<Rc<str>> as IntoPropValue<Option<implicit_clone::unsync::IString>>>
526500 <Option<String> as IntoPropValue<Option<implicit_clone::unsync::IString>>>
527501 <Option<VChild<T>> as IntoPropValue<Option<ChildrenRenderer<C>>>>
502+ <Option<VNode> as IntoPropValue<VNode>>
528503
529504error[E0277]: expected a `Fn<(MouseEvent,)>` closure, found `{integer}`
530505 --> tests/html_macro/element-fail.rs:51:28
@@ -613,16 +588,7 @@ error[E0277]: the trait bound `(): IntoPropValue<yew::NodeRef>` is not satisfied
61358856 | html! { <input ref={()} /> };
614589 | ^^ the trait `IntoPropValue<yew::NodeRef>` is not implemented for `()`
615590 |
616- = help: the following other types implement trait `IntoPropValue<T>`:
617- <&'static [(K, V)] as IntoPropValue<implicit_clone::unsync::IMap<K, V>>>
618- <&'static [T] as IntoPropValue<implicit_clone::unsync::IArray<T>>>
619- <&'static str as IntoPropValue<Classes>>
620- <&'static str as IntoPropValue<Option<String>>>
621- <&'static str as IntoPropValue<Option<implicit_clone::unsync::IString>>>
622- <&'static str as IntoPropValue<String>>
623- <&'static str as IntoPropValue<implicit_clone::unsync::IString>>
624- <&T as IntoPropValue<Option<T>>>
625- and $N others
591+ = help: the trait `IntoPropValue<VNode>` is implemented for `()`
626592 = note: this error originates in the macro `html` (in Nightly builds, run with -Z macro-backtrace for more info)
627593
628594error[E0277]: the trait bound `Option<yew::NodeRef>: IntoPropValue<yew::NodeRef>` is not satisfied
@@ -639,6 +605,7 @@ error[E0277]: the trait bound `Option<yew::NodeRef>: IntoPropValue<yew::NodeRef>
639605 <Option<Rc<str>> as IntoPropValue<Option<implicit_clone::unsync::IString>>>
640606 <Option<String> as IntoPropValue<Option<implicit_clone::unsync::IString>>>
641607 <Option<VChild<T>> as IntoPropValue<Option<ChildrenRenderer<C>>>>
608+ <Option<VNode> as IntoPropValue<VNode>>
642609 = note: this error originates in the macro `html` (in Nightly builds, run with -Z macro-backtrace for more info)
643610
644611error[E0277]: expected a `Fn<(MouseEvent,)>` closure, found `yew::Callback<String>`
@@ -682,7 +649,7 @@ error[E0277]: the trait bound `NotToString: IntoPropValue<Option<implicit_clone:
682649 <&'static str as IntoPropValue<Option<implicit_clone::unsync::IString>>>
683650 <&'static str as IntoPropValue<String>>
684651 <&'static str as IntoPropValue<implicit_clone::unsync::IString>>
685- <&T as IntoPropValue<Option<T> >>
652+ <&String as IntoPropValue<VNode >>
686653 and $N others
687654
688655error[E0277]: the trait bound `(): IntoPropValue<yew::NodeRef>` is not satisfied
@@ -691,16 +658,7 @@ error[E0277]: the trait bound `(): IntoPropValue<yew::NodeRef>` is not satisfied
69165862 | html! { <input ref={()} /> };
692659 | ^^ the trait `IntoPropValue<yew::NodeRef>` is not implemented for `()`
693660 |
694- = help: the following other types implement trait `IntoPropValue<T>`:
695- <&'static [(K, V)] as IntoPropValue<implicit_clone::unsync::IMap<K, V>>>
696- <&'static [T] as IntoPropValue<implicit_clone::unsync::IArray<T>>>
697- <&'static str as IntoPropValue<Classes>>
698- <&'static str as IntoPropValue<Option<String>>>
699- <&'static str as IntoPropValue<Option<implicit_clone::unsync::IString>>>
700- <&'static str as IntoPropValue<String>>
701- <&'static str as IntoPropValue<implicit_clone::unsync::IString>>
702- <&T as IntoPropValue<Option<T>>>
703- and $N others
661+ = help: the trait `IntoPropValue<VNode>` is implemented for `()`
704662 = note: this error originates in the macro `html` (in Nightly builds, run with -Z macro-backtrace for more info)
705663
706664error[E0277]: the trait bound `implicit_clone::unsync::IString: From<{integer}>` is not satisfied
0 commit comments