Skip to content

Commit ba98704

Browse files
committed
bless trybuild output
1 parent 688b753 commit ba98704

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

packages/yew-macro/tests/html_macro/component-fail.stderr

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -710,21 +710,23 @@ note: required by a bound in `ChildContainerPropertiesBuilder::children`
710710
| -------- required by a bound in this
711711
= note: this error originates in the macro `html` which comes from the expansion of the derive macro `Properties` (in Nightly builds, run with -Z macro-backtrace for more info)
712712

713-
error[E0277]: the trait bound `VChild<Child>: From<VNode>` is not satisfied
713+
error[E0277]: the trait bound `VChild<Child>: From<yew::virtual_dom::VList>` is not satisfied
714714
--> tests/html_macro/component-fail.rs:118:29
715715
|
716716
118 | html! { <ChildContainer><></></ChildContainer> };
717-
| ^ the trait `From<VNode>` is not implemented for `VChild<Child>`
717+
| ^ the trait `From<yew::virtual_dom::VList>` is not implemented for `VChild<Child>`
718718
|
719-
= note: required because of the requirements on the impl of `Into<VChild<Child>>` for `VNode`
719+
= note: required because of the requirements on the impl of `Into<VChild<Child>>` for `yew::virtual_dom::VList`
720720

721-
error[E0277]: the trait bound `VNode: IntoPropValue<ChildrenRenderer<VChild<Child>>>` is not satisfied
721+
error[E0277]: the trait bound `yew::virtual_dom::VTag: IntoPropValue<ChildrenRenderer<VChild<Child>>>` is not satisfied
722722
--> tests/html_macro/component-fail.rs:119:14
723723
|
724724
119 | html! { <ChildContainer><other /></ChildContainer> };
725-
| ^^^^^^^^^^^^^^ the trait `IntoPropValue<ChildrenRenderer<VChild<Child>>>` is not implemented for `VNode`
725+
| ^^^^^^^^^^^^^^ the trait `IntoPropValue<ChildrenRenderer<VChild<Child>>>` is not implemented for `yew::virtual_dom::VTag`
726726
|
727-
= help: the trait `IntoPropValue<ChildrenRenderer<VNode>>` is implemented for `VNode`
727+
= help: the following other types implement trait `IntoPropValue<T>`:
728+
<yew::virtual_dom::VTag as IntoPropValue<ChildrenRenderer<VNode>>>
729+
<yew::virtual_dom::VTag as IntoPropValue<VNode>>
728730
note: required by a bound in `ChildContainerPropertiesBuilder::children`
729731
--> tests/html_macro/component-fail.rs:24:17
730732
|

0 commit comments

Comments
 (0)