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
36 lines
2.0 KiB
Plaintext
36 lines
2.0 KiB
Plaintext
error[E0277]: `()` doesn't implement `std::fmt::Display`
|
|
--> $DIR/html-block-fail.rs:6:15
|
|
|
|
|
6 | { () }
|
|
| ^^ `()` cannot be formatted with the default formatter
|
|
|
|
|
= help: the trait `std::fmt::Display` is not implemented for `()`
|
|
= note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
|
|
= note: required because of the requirements on the impl of `std::string::ToString` for `()`
|
|
= note: required because of the requirements on the impl of `std::convert::From<()>` for `yew::virtual_dom::vnode::VNode`
|
|
= note: required by `std::convert::From::from`
|
|
|
|
error[E0277]: `()` doesn't implement `std::fmt::Display`
|
|
--> $DIR/html-block-fail.rs:12:16
|
|
|
|
|
12 | <div>{ not_tree() }</div>
|
|
| ^^^^^^^^ `()` cannot be formatted with the default formatter
|
|
|
|
|
= help: the trait `std::fmt::Display` is not implemented for `()`
|
|
= note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
|
|
= note: required because of the requirements on the impl of `std::string::ToString` for `()`
|
|
= note: required because of the requirements on the impl of `std::convert::From<()>` for `yew::virtual_dom::vnode::VNode`
|
|
= note: required by `std::convert::From::from`
|
|
|
|
error[E0277]: `()` doesn't implement `std::fmt::Display`
|
|
--> $DIR/html-block-fail.rs:15:17
|
|
|
|
|
15 | <>{ for (0..3).map(|_| not_tree()) }</>
|
|
| ^^^^^^ `()` cannot be formatted with the default formatter
|
|
|
|
|
= help: the trait `std::fmt::Display` is not implemented for `()`
|
|
= note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
|
|
= note: required because of the requirements on the impl of `std::string::ToString` for `()`
|
|
= note: required because of the requirements on the impl of `std::convert::From<()>` for `yew::virtual_dom::vnode::VNode`
|
|
= note: required because of the requirements on the impl of `std::convert::Into<yew::virtual_dom::vnode::VNode>` for `()`
|