#![no_implicit_prelude] // Shadow primitives #[allow(non_camel_case_types)] pub struct bool; #[allow(non_camel_case_types)] pub struct char; #[allow(non_camel_case_types)] pub struct f32; #[allow(non_camel_case_types)] pub struct f64; #[allow(non_camel_case_types)] pub struct i128; #[allow(non_camel_case_types)] pub struct i16; #[allow(non_camel_case_types)] pub struct i32; #[allow(non_camel_case_types)] pub struct i64; #[allow(non_camel_case_types)] pub struct i8; #[allow(non_camel_case_types)] pub struct isize; #[allow(non_camel_case_types)] pub struct str; #[allow(non_camel_case_types)] pub struct u128; #[allow(non_camel_case_types)] pub struct u16; #[allow(non_camel_case_types)] pub struct u32; #[allow(non_camel_case_types)] pub struct u64; #[allow(non_camel_case_types)] pub struct u8; #[allow(non_camel_case_types)] pub struct usize; #[derive(::std::clone::Clone, ::yew::Properties, ::std::cmp::PartialEq)] struct Props { a: ::std::primitive::usize, } #[::yew::function_component(Comp)] fn comp

(_props: &P) -> ::yew::Html where P: ::yew::Properties + ::std::cmp::PartialEq, { ::yew::html! {

} } #[::yew::function_component(Comp1)] fn comp1(_props: &()) -> ::yew::Html { ::yew::html! {

} } #[::yew::function_component(ConstGenerics)] fn const_generics() -> ::yew::Html { ::yew::html! {
{ N }
} } fn compile_pass() { ::yew::html! { a=10 /> }; ::yew::html! { /> }; ::yew::html! { /> }; } fn main() {}