use yew::prelude::*; fn compile_fail() { html! { "valid" "invalid" }; html! { { "valid" "invalid" } }; html! { () }; html! { invalid }; // unsupported literals html! { b'a' }; html! { b"str" }; html! { { b'a' } }; html! { { b"str" } }; let not_node = || (); html! { not_node() }; } fn main() {}