error: this opening tag has no corresponding closing tag
--> tests/html_macro/element-fail.rs:7:13
|
7 | html! { <div> };
| ^^^^^
error: this opening tag has no corresponding closing tag
--> tests/html_macro/element-fail.rs:8:18
|
8 | html! { <div><div> };
| ^^^^^
error: this opening tag has no corresponding closing tag
--> tests/html_macro/element-fail.rs:9:13
|
9 | html! { <div><div></div> };
| ^^^^^
error: this closing tag has no corresponding opening tag
--> tests/html_macro/element-fail.rs:12:13
|
12 | html! { </div> };
| ^^^^^^
error: this closing tag has no corresponding opening tag
--> tests/html_macro/element-fail.rs:13:18
|
13 | html! { <div></span></div> };
| ^^^^^^^
error: only one root html element is allowed (hint: you can wrap multiple html elements in a fragment `<></>`)
--> tests/html_macro/element-fail.rs:14:20
|
14 | html! { <img /></img> };
| ^^^^^^
error: this closing tag has no corresponding opening tag
--> tests/html_macro/element-fail.rs:17:18
|
17 | html! { <div></span> };
| ^^^^^^^
error: this closing tag has no corresponding opening tag
--> tests/html_macro/element-fail.rs:18:20
|
18 | html! { <tag-a></tag-b> };
| ^^^^^^^^
error: only one root html element is allowed (hint: you can wrap multiple html elements in a fragment `<></>`)
--> tests/html_macro/element-fail.rs:21:24
|
21 | html! { <div></div><div></div> };
| ^^^^^^^^^^^
error: expected a valid html element
--> tests/html_macro/element-fail.rs:23:18
|
23 | html! { <div>Invalid</div> };
| ^^^^^^^
error: `attr` can only be specified once but is given here again
--> tests/html_macro/element-fail.rs:26:27
|
26 | html! { <input attr=1 attr=2 /> };
| ^^^^
error: `value` can only be specified once but is given here again
--> tests/html_macro/element-fail.rs:27:32
|
27 | html! { <input value="123" value="456" /> };
| ^^^^^
error: `kind` can only be specified once but is given here again
--> tests/html_macro/element-fail.rs:28:36
|
28 | html! { <input kind="checkbox" kind="submit" /> };
| ^^^^
error: `checked` can only be specified once but is given here again
--> tests/html_macro/element-fail.rs:29:33
|
29 | html! { <input checked=true checked=false /> };
| ^^^^^^^
error: `disabled` can only be specified once but is given here again
--> tests/html_macro/element-fail.rs:30:34
|
30 | html! { <input disabled=true disabled=false /> };
| ^^^^^^^^
error: `selected` can only be specified once but is given here again
--> tests/html_macro/element-fail.rs:31:35
|
31 | html! { <option selected=true selected=false /> };
| ^^^^^^^^
error: `class` can only be specified once but is given here again
--> tests/html_macro/element-fail.rs:32:32
|
32 | html! { <div class="first" class="second" /> };
| ^^^^^
error: `ref` can only be specified once
--> tests/html_macro/element-fail.rs:33:29
|
33 | html! { <input ref={()} ref={()} /> };
| ^^^
error: `ref` can only be specified once
--> tests/html_macro/element-fail.rs:63:29
|
63 | html! { <input ref={()} ref={()} /> };
| ^^^
error: the tag `<input>` is a void element and cannot have children (hint: rewrite this as `<input />`)
--> tests/html_macro/element-fail.rs:66:13
|
66 | html! { <input type="text"></input> };
| ^^^^^^^^^^^^^^^^^^^
error: the tag `<textarea>` is a void element and cannot have children (hint: to provide value to it, rewrite it as `<textarea value={x} />`. If you wish to set the default value, rewrite it as `<textarea defaultvalue={x} />`)
--> tests/html_macro/element-fail.rs:68:13
|
68 | html! { <textarea>{"default value"}</textarea> }
| ^^^^^^^^^^
error: the tag `<iNpUt>` is a void element and cannot have children (hint: rewrite this as `<iNpUt />`)
--> tests/html_macro/element-fail.rs:70:13
|
70 | html! { <iNpUt type="text"></iNpUt> };
| ^^^^^^^^^^^^^^^^^^^
error: this dynamic tag is missing an expression block defining its value
--> tests/html_macro/element-fail.rs:73:14
|
73 | html! { <@></@> };
| ^
error: this dynamic tag is missing an expression block defining its value
--> tests/html_macro/element-fail.rs:74:14
|
74 | html! { <@/> };
| ^
error: dynamic closing tags must not have a body (hint: replace it with just `</@>`)
--> tests/html_macro/element-fail.rs:77:27
|
77 | html! { <@{"test"}></@{"test"}> };
| ^^^^^^^^
error: the property value must be either a literal or enclosed in braces. Consider adding braces around your expression.: Expr::Tuple {
attrs: [],
paren_token: Paren,
elems: [],
}
--> tests/html_macro/element-fail.rs:82:24
|
82 | html! { <input ref=() /> };
| ^^
error: the property value must be either a literal or enclosed in braces. Consider adding braces around your expression.: Expr::Tuple {
attrs: [],
paren_token: Paren,
elems: [],
}
--> tests/html_macro/element-fail.rs:83:24
|
83 | html! { <input ref=() ref=() /> };
| ^^
error: the property value must be either a literal or enclosed in braces. Consider adding braces around your expression.: Expr::Call {
attrs: [],
func: Expr::Path {
attrs: [],
qself: None,
path: Path {
leading_colon: None,
segments: [
PathSegment {
ident: Ident {
ident: "Some",
span: #0 bytes(2628..2632),
},
arguments: PathArguments::None,
},
],
},
},
paren_token: Paren,
args: [
Expr::Lit {
attrs: [],
lit: Lit::Int {
token: 5,
},
},
],
}
--> tests/html_macro/element-fail.rs:84:28
|
84 | html! { <input onfocus=Some(5) /> };
| ^^^^^^^
error: the property value must be either a literal or enclosed in braces. Consider adding braces around your expression.: Expr::Path {
attrs: [],
qself: None,
path: Path {
leading_colon: None,
segments: [
PathSegment {
ident: Ident {
ident: "NotToString",
span: #0 bytes(2668..2679),
},
arguments: PathArguments::None,
},
],
},
}
--> tests/html_macro/element-fail.rs:85:27
|
85 | html! { <input string=NotToString /> };
| ^^^^^^^^^^^
error: the property value must be either a literal or enclosed in braces. Consider adding braces around your expression.: Expr::Call {
attrs: [],
func: Expr::Path {
attrs: [],
qself: None,
path: Path {
leading_colon: None,
segments: [
PathSegment {
ident: Ident {
ident: "Some",
span: #0 bytes(2707..2711),
},
arguments: PathArguments::None,
},
],
},
},
paren_token: Paren,
args: [
Expr::Path {
attrs: [],
qself: None,
path: Path {
leading_colon: None,
segments: [
PathSegment {
ident: Ident {
ident: "NotToString",
span: #0 bytes(2712..2723),
},
arguments: PathArguments::None,
},
],
},
},
],
}
--> tests/html_macro/element-fail.rs:86:22
|
86 | html! { <a media=Some(NotToString) /> };
| ^^^^^^^^^^^^^^^^^
error: the property value must be either a literal or enclosed in braces. Consider adding braces around your expression.: Expr::Call {
attrs: [],
func: Expr::Path {
attrs: [],
qself: None,
path: Path {
leading_colon: None,
segments: [
PathSegment {
ident: Ident {
ident: "Some",
span: #0 bytes(2751..2755),
},
arguments: PathArguments::None,
},
],
},
},
paren_token: Paren,
args: [
Expr::Lit {
attrs: [],
lit: Lit::Int {
token: 5,
},
},
],
}
--> tests/html_macro/element-fail.rs:87:21
|
87 | html! { <a href=Some(5) /> };
| ^^^^^^^
error: the property value must be either a literal or enclosed in braces. Consider adding braces around your expression.: Expr::Tuple {
attrs: [],
paren_token: Paren,
elems: [],
}
--> tests/html_macro/element-fail.rs:88:25
|
88 | html! { <input type=() /> };
| ^^
error: the property value must be either a literal or enclosed in braces. Consider adding braces around your expression.: Expr::Tuple {
attrs: [],
paren_token: Paren,
elems: [],
}
--> tests/html_macro/element-fail.rs:89:26
|
89 | html! { <input value=() /> };
| ^^
error: the property value must be either a literal or enclosed in braces. Consider adding braces around your expression.: Expr::Path {
attrs: [],
qself: None,
path: Path {
leading_colon: None,
segments: [
PathSegment {
ident: Ident {
ident: "NotToString",
span: #0 bytes(2858..2869),
},
arguments: PathArguments::None,
},
],
},
}
--> tests/html_macro/element-fail.rs:90:27
|
90 | html! { <input string=NotToString /> };
| ^^^^^^^^^^^
error[E0308]: mismatched types
--> tests/html_macro/element-fail.rs:36:28
|
36 | html! { <input checked=1 /> };
| -----------------------^-----
| | |
| | expected `bool`, found integer
| arguments to this enum variant are incorrect
|
help: the type constructed contains `{integer}` due to the type of the argument passed
--> tests/html_macro/element-fail.rs:36:5
|
36 | html! { <input checked=1 /> };
| ^^^^^^^^^^^^^^^^^^^^^^^-^^^^^
| |
| this argument influences the type of `{{root}}`
note: tuple variant defined here
--> $RUST/core/src/option.rs
= note: this error originates in the macro `html` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0308]: mismatched types
--> tests/html_macro/element-fail.rs:37:29
|
37 | html! { <input checked={Some(false)} /> };
| ------------------------^^^^^^^^^^^------
| | |
| | expected `bool`, found `Option<bool>`
| arguments to this enum variant are incorrect
|
= note: expected type `bool`
found enum `Option<bool>`
help: the type constructed contains `Option<bool>` due to the type of the argument passed
--> tests/html_macro/element-fail.rs:37:5
|
37 | html! { <input checked={Some(false)} /> };
| ^^^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^
| |
| this argument influences the type of `{{root}}`
note: tuple variant defined here
--> $RUST/core/src/option.rs
= note: this error originates in the macro `html` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `Option::is_some` to test if the `Option` has a value
|
37 | html! { <input checked={Some(false).is_some()} /> };
| ++++++++++
error[E0308]: mismatched types
--> tests/html_macro/element-fail.rs:38:29
|
38 | html! { <input disabled=1 /> };
| ^
| |
| expected `bool`, found integer
| arguments to this function are incorrect
|
note: function defined here
--> $WORKSPACE/packages/yew/src/utils/mod.rs
|
| pub fn __ensure_type<T>(_: T) {}
| ^^^^^^^^^^^^^
error[E0308]: mismatched types
--> tests/html_macro/element-fail.rs:39:30
|
39 | html! { <input disabled={Some(true)} /> };
| ^^^^^^^^^^ expected `bool`, found `Option<bool>`
|
= note: expected type `bool`
found enum `Option<bool>`
help: use `Option::is_some` to test if the `Option` has a value
|
39 | html! { <input disabled={Some(true).is_some()} /> };
| ++++++++++
error[E0308]: mismatched types
--> tests/html_macro/element-fail.rs:40:30
|
40 | html! { <option selected=1 /> };
| ^
| |
| expected `bool`, found integer
| arguments to this function are incorrect
|
note: function defined here
--> $WORKSPACE/packages/yew/src/utils/mod.rs
|
| pub fn __ensure_type<T>(_: T) {}
| ^^^^^^^^^^^^^
error[E0277]: the trait bound `(): IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not satisfied
--> tests/html_macro/element-fail.rs:43:26
|
43 | html! { <input type={()} /> };
| ^^ the trait `IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not implemented for `()`
|
= help: the trait `IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not implemented for `()`
but trait `IntoPropValue<VNode>` is implemented for it
= help: for that trait implementation, expected `VNode`, found `Option<implicit_clone::unsync::string::IString>`
error[E0277]: the trait bound `(): IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not satisfied
--> tests/html_macro/element-fail.rs:44:27
|
44 | html! { <input value={()} /> };
| ^^ the trait `IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not implemented for `()`
|
= help: the trait `IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not implemented for `()`
but trait `IntoPropValue<VNode>` is implemented for it
= help: for that trait implementation, expected `VNode`, found `Option<implicit_clone::unsync::string::IString>`
error[E0277]: the trait bound `(): IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not satisfied
--> tests/html_macro/element-fail.rs:45:22
|
45 | html! { <a href={()} /> };
| ^^ the trait `IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not implemented for `()`
|
= help: the trait `IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not implemented for `()`
but trait `IntoPropValue<VNode>` is implemented for it
= help: for that trait implementation, expected `VNode`, found `Option<implicit_clone::unsync::string::IString>`
error[E0277]: the trait bound `NotToString: IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not satisfied
--> tests/html_macro/element-fail.rs:46:28
|
46 | html! { <input string={NotToString} /> };
| ^^^^^^^^^^^ the trait `IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not implemented for `NotToString`
|
= help: the following other types implement trait `IntoPropValue<T>`:
`&&String` implements `IntoPropValue<Option<VNode>>`
`&&String` implements `IntoPropValue<VNode>`
`&&str` implements `IntoPropValue<Option<VNode>>`
`&&str` implements `IntoPropValue<VNode>`
`&'static [(K, V)]` implements `IntoPropValue<implicit_clone::unsync::map::IMap<K, V>>`
`&'static [T]` implements `IntoPropValue<implicit_clone::unsync::array::IArray<T>>`
`&'static str` implements `IntoPropValue<Classes>`
`&'static str` implements `IntoPropValue<Option<String>>`
and $N others
error[E0277]: the trait bound `Option<NotToString>: IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not satisfied
--> tests/html_macro/element-fail.rs:47:23
|
47 | html! { <a media={Some(NotToString)} /> };
| ----^^^^^^^^^^^^^
| |
| the trait `IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not implemented for `Option<NotToString>`
| required by a bound introduced by this call
|
= help: the following other types implement trait `IntoPropValue<T>`:
`Option<&String>` implements `IntoPropValue<Option<VNode>>`
`Option<&implicit_clone::unsync::string::IString>` implements `IntoPropValue<Option<VNode>>`
`Option<&str>` implements `IntoPropValue<Option<String>>`
`Option<&str>` implements `IntoPropValue<Option<VNode>>`
`Option<&str>` implements `IntoPropValue<Option<implicit_clone::unsync::string::IString>>`
`Option<Arc<String>>` implements `IntoPropValue<Option<VNode>>`
`Option<Arc<str>>` implements `IntoPropValue<Option<VNode>>`
`Option<Cow<'_, str>>` implements `IntoPropValue<Option<VNode>>`
and $N others
error[E0277]: the trait bound `Option<{integer}>: IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not satisfied
--> tests/html_macro/element-fail.rs:48:22
|
48 | html! { <a href={Some(5)} /> };
| ----^^^
| |
| the trait `IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not implemented for `Option<{integer}>`
| required by a bound introduced by this call
|
= help: the following other types implement trait `IntoPropValue<T>`:
`Option<&String>` implements `IntoPropValue<Option<VNode>>`
`Option<&implicit_clone::unsync::string::IString>` implements `IntoPropValue<Option<VNode>>`
`Option<&str>` implements `IntoPropValue<Option<String>>`
`Option<&str>` implements `IntoPropValue<Option<VNode>>`
`Option<&str>` implements `IntoPropValue<Option<implicit_clone::unsync::string::IString>>`
`Option<Arc<String>>` implements `IntoPropValue<Option<VNode>>`
`Option<Arc<str>>` implements `IntoPropValue<Option<VNode>>`
`Option<Cow<'_, str>>` implements `IntoPropValue<Option<VNode>>`
and $N others
error[E0277]: the trait bound `{integer}: IntoEventCallback<MouseEvent>` is not satisfied
--> tests/html_macro/element-fail.rs:51:28
|
51 | html! { <input onclick=1 /> };
| -----------------------^-----
| | |
| | the trait `Fn(MouseEvent)` is not implemented for `{integer}`
| required by a bound introduced by this call
|
= help: the following other types implement trait `IntoEventCallback<EVENT>`:
&yew::Callback<EVENT>
Option<T>
Option<yew::Callback<EVENT>>
yew::Callback<EVENT>
= note: required for `{integer}` to implement `IntoEventCallback<MouseEvent>`
note: required by a bound in `yew::html::onclick::Wrapper::__macro_new`
--> $WORKSPACE/packages/yew/src/html/listener/events.rs
|
| / impl_short! {
| | onauxclick(MouseEvent)
| | onclick(MouseEvent)
... |
| | ontransitionstart(TransitionEvent)
| | }
| | ^
| | |
| |_required by a bound in this associated function
| required by this bound in `Wrapper::__macro_new`
= note: this error originates in the macro `impl_action` which comes from the expansion of the macro `impl_short` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `yew::Callback<String>: IntoEventCallback<MouseEvent>` is not satisfied
--> tests/html_macro/element-fail.rs:52:29
|
52 | html! { <input onclick={Callback::from(|a: String| ())} /> };
| ------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------
| | |
| | the trait `Fn(MouseEvent)` is not implemented for `yew::Callback<String>`
| required by a bound introduced by this call
|
= help: the following other types implement trait `IntoEventCallback<EVENT>`:
&yew::Callback<EVENT>
yew::Callback<EVENT>
= note: required for `yew::Callback<String>` to implement `IntoEventCallback<MouseEvent>`
note: required by a bound in `yew::html::onclick::Wrapper::__macro_new`
--> $WORKSPACE/packages/yew/src/html/listener/events.rs
|
| / impl_short! {
| | onauxclick(MouseEvent)
| | onclick(MouseEvent)
... |
| | ontransitionstart(TransitionEvent)
| | }
| | ^
| | |
| |_required by a bound in this associated function
| required by this bound in `Wrapper::__macro_new`
= note: this error originates in the macro `impl_action` which comes from the expansion of the macro `impl_short` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Option<{integer}>: IntoEventCallback<FocusEvent>` is not satisfied
--> tests/html_macro/element-fail.rs:53:29
|
53 | html! { <input onfocus={Some(5)} /> };
| ------------------------^^^^^^^------
| | |
| | the trait `IntoEventCallback<FocusEvent>` is not implemented for `Option<{integer}>`
| required by a bound introduced by this call
|
= help: the following other types implement trait `IntoEventCallback<EVENT>`:
Option<T>
Option<yew::Callback<EVENT>>
note: required by a bound in `yew::html::onfocus::Wrapper::__macro_new`
--> $WORKSPACE/packages/yew/src/html/listener/events.rs
|
| / impl_short! {
| | onauxclick(MouseEvent)
| | onclick(MouseEvent)
... |
| | ontransitionstart(TransitionEvent)
| | }
| | ^
| | |
| |_required by a bound in this associated function
| required by this bound in `Wrapper::__macro_new`
= note: this error originates in the macro `impl_action` which comes from the expansion of the macro `impl_short` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `(): IntoPropValue<yew::NodeRef>` is not satisfied
--> tests/html_macro/element-fail.rs:56:25
|
56 | html! { <input ref={()} /> };
| ^^
| |
| the trait `IntoPropValue<yew::NodeRef>` is not implemented for `()`
| required by a bound introduced by this call
|
= help: the trait `IntoPropValue<yew::NodeRef>` is not implemented for `()`
but trait `IntoPropValue<VNode>` is implemented for it
= help: for that trait implementation, expected `VNode`, found `yew::NodeRef`
error[E0277]: the trait bound `Option<yew::NodeRef>: IntoPropValue<yew::NodeRef>` is not satisfied
--> tests/html_macro/element-fail.rs:57:25
|
57 | html! { <input ref={Some(NodeRef::default())} /> };
| ----^^^^^^^^^^^^^^^^^^^^
| |
| the trait `IntoPropValue<yew::NodeRef>` is not implemented for `Option<yew::NodeRef>`
| required by a bound introduced by this call
|
= help: the following other types implement trait `IntoPropValue<T>`:
`Option<&String>` implements `IntoPropValue<Option<VNode>>`
`Option<&implicit_clone::unsync::string::IString>` implements `IntoPropValue<Option<VNode>>`
`Option<&str>` implements `IntoPropValue<Option<String>>`
`Option<&str>` implements `IntoPropValue<Option<VNode>>`
`Option<&str>` implements `IntoPropValue<Option<implicit_clone::unsync::string::IString>>`
`Option<Arc<String>>` implements `IntoPropValue<Option<VNode>>`
`Option<Arc<str>>` implements `IntoPropValue<Option<VNode>>`
`Option<Cow<'_, str>>` implements `IntoPropValue<Option<VNode>>`
and $N others
error[E0277]: the trait bound `yew::Callback<String>: IntoEventCallback<MouseEvent>` is not satisfied
--> tests/html_macro/element-fail.rs:58:29
|
58 | html! { <input onclick={Callback::from(|a: String| ())} /> };
| ------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------
| | |
| | the trait `Fn(MouseEvent)` is not implemented for `yew::Callback<String>`
| required by a bound introduced by this call
|
= help: the following other types implement trait `IntoEventCallback<EVENT>`:
&yew::Callback<EVENT>
yew::Callback<EVENT>
= note: required for `yew::Callback<String>` to implement `IntoEventCallback<MouseEvent>`
note: required by a bound in `yew::html::onclick::Wrapper::__macro_new`
--> $WORKSPACE/packages/yew/src/html/listener/events.rs
|
| / impl_short! {
| | onauxclick(MouseEvent)
| | onclick(MouseEvent)
... |
| | ontransitionstart(TransitionEvent)
| | }
| | ^
| | |
| |_required by a bound in this associated function
| required by this bound in `Wrapper::__macro_new`
= note: this error originates in the macro `impl_action` which comes from the expansion of the macro `impl_short` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `NotToString: IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not satisfied
--> tests/html_macro/element-fail.rs:60:28
|
60 | html! { <input string={NotToString} /> };
| ^^^^^^^^^^^ the trait `IntoPropValue<Option<implicit_clone::unsync::string::IString>>` is not implemented for `NotToString`
|
= help: the following other types implement trait `IntoPropValue<T>`:
`&&String` implements `IntoPropValue<Option<VNode>>`
`&&String` implements `IntoPropValue<VNode>`
`&&str` implements `IntoPropValue<Option<VNode>>`
`&&str` implements `IntoPropValue<VNode>`
`&'static [(K, V)]` implements `IntoPropValue<implicit_clone::unsync::map::IMap<K, V>>`
`&'static [T]` implements `IntoPropValue<implicit_clone::unsync::array::IArray<T>>`
`&'static str` implements `IntoPropValue<Classes>`
`&'static str` implements `IntoPropValue<Option<String>>`
and $N others
error[E0277]: the trait bound `(): IntoPropValue<yew::NodeRef>` is not satisfied
--> tests/html_macro/element-fail.rs:62:25
|
62 | html! { <input ref={()} /> };
| ^^
| |
| the trait `IntoPropValue<yew::NodeRef>` is not implemented for `()`
| required by a bound introduced by this call
|
= help: the trait `IntoPropValue<yew::NodeRef>` is not implemented for `()`
but trait `IntoPropValue<VNode>` is implemented for it
= help: for that trait implementation, expected `VNode`, found `yew::NodeRef`
error[E0277]: the trait bound `implicit_clone::unsync::string::IString: From<{integer}>` is not satisfied
--> tests/html_macro/element-fail.rs:79:16
|
79 | html! { <@{55}></@> };
| ^^ the trait `From<{integer}>` is not implemented for `implicit_clone::unsync::string::IString`
|
= help: the following other types implement trait `From<T>`:
`implicit_clone::unsync::string::IString` implements `From<&Classes>`
`implicit_clone::unsync::string::IString` implements `From<&implicit_clone::unsync::string::IString>`
`implicit_clone::unsync::string::IString` implements `From<&str>`
`implicit_clone::unsync::string::IString` implements `From<Arguments<'_>>`
`implicit_clone::unsync::string::IString` implements `From<Cow<'_, str>>`
`implicit_clone::unsync::string::IString` implements `From<Rc<str>>`
`implicit_clone::unsync::string::IString` implements `From<String>`
= note: required for `{integer}` to implement `Into<implicit_clone::unsync::string::IString>`