use yew::prelude::*; #[derive(Clone, Properties, PartialEq)] struct Props { a: usize, } #[function_component(Comp)] fn comp
(_props: &P) -> Html where P: Properties + PartialEq, { html! {
} } struct MissingTypeBounds; fn compile_fail() { // missing prop 'a' html! {