error: this opening tag has no corresponding closing tag --> $DIR/html-component-fail.rs:78:13 | 78 | html! { }; | ^^^^^^^ error: unexpected end of input, expected identifier --> $DIR/html-component-fail.rs:79:13 | 79 | html! { }; | ^^^^^^^^^^^ error: expected expression following this `with` --> $DIR/html-component-fail.rs:80:20 | 80 | html! { }; | ^^^^ error: `props` doesn't have a value. (hint: set the value to `true` or `false` for boolean attributes) --> $DIR/html-component-fail.rs:81:20 | 81 | html! { }; | ^^^^^ error: this opening tag has no corresponding closing tag --> $DIR/html-component-fail.rs:82:13 | 82 | html! { }; | ^^^^^^^^^^^^^^^^^^^ error: there are two `with ` definitions for this component (note: you can only define `with ` once) --> $DIR/html-component-fail.rs:84:20 | 84 | html! { }; | ^^^^^^^ error: `ref` can only be set once --> $DIR/html-component-fail.rs:85:38 | 85 | html! { }; | ^^^ error: `ref` can only be set once --> $DIR/html-component-fail.rs:86:38 | 86 | html! { }; | ^^^ error: Using the `with props` syntax in combination with named props is not allowed (note: this does not apply to special props like `ref` and `key`) --> $DIR/html-component-fail.rs:87:38 | 87 | html! { }; | ^^^^^ error: Using the `with props` syntax in combination with named props is not allowed (note: this does not apply to special props like `ref` and `key`) --> $DIR/html-component-fail.rs:88:31 | 88 | html! { }; | ^^^^^ error: Using the `with props` syntax in combination with named props is not allowed (note: this does not apply to special props like `ref` and `key`) --> $DIR/html-component-fail.rs:89:20 | 89 | html! { }; | ^^^^^ error: Using the `with props` syntax in combination with named props is not allowed (note: this does not apply to special props like `ref` and `key`) --> $DIR/html-component-fail.rs:90:20 | 90 | html! { }; | ^^^^^ error: `ref` can only be set once --> $DIR/html-component-fail.rs:91:27 | 91 | html! { }; | ^^^ error: Using the `with props` syntax in combination with named props is not allowed (note: this does not apply to special props like `ref` and `key`) --> $DIR/html-component-fail.rs:93:20 | 93 | html! { }; | ^^^^^ error: Using the `with props` syntax in combination with named props is not allowed (note: this does not apply to special props like `ref` and `key`) --> $DIR/html-component-fail.rs:94:31 | 94 | html! { }; | ^^^^^ error: expected identifier, found keyword `type` --> $DIR/html-component-fail.rs:95:20 | 95 | html! { }; | ^^^^ expected identifier, found keyword | help: you can escape reserved keywords to use them as identifiers | 95 | html! { }; | ^^^^^^ error: expected a valid Rust identifier --> $DIR/html-component-fail.rs:96:20 | 96 | html! { }; | ^^^^^^^^^^^^^^^^^ error: expected an expression following this equals sign --> $DIR/html-component-fail.rs:98:26 | 98 | html! { }; | ^ error: `int` can only be specified once but is given here again --> $DIR/html-component-fail.rs:99:26 | 99 | html! { }; | ^^^ error: `int` can only be specified once but is given here again --> $DIR/html-component-fail.rs:99:32 | 99 | html! { }; | ^^^ error: `ref` can only be specified once --> $DIR/html-component-fail.rs:104:26 | 104 | html! { }; | ^^^ error: this closing tag has no corresponding opening tag --> $DIR/html-component-fail.rs:107:13 | 107 | html! { }; | ^^^^^^^^ error: this opening tag has no corresponding closing tag --> $DIR/html-component-fail.rs:108:13 | 108 | html! { }; | ^^^^^^^ error: only one root html element is allowed (hint: you can wrap multiple html elements in a fragment `<>`) --> $DIR/html-component-fail.rs:109:28 | 109 | html! { }; | ^^^^^^^^^^^^^^^ error: cannot specify the `children` prop when the component already has children --> $DIR/html-component-fail.rs:128:25 | 128 | | ^^^^^^^^ error: this closing tag has no corresponding opening tag --> $DIR/html-component-fail.rs:133:30 | 133 | html! { > }; | ^^^^^^^^^^ error: this closing tag has no corresponding opening tag --> $DIR/html-component-fail.rs:134:30 | 134 | html! { >>> }; | ^^^^^^^^^^^^^^^^^^^^^^^ error: only one root html element is allowed (hint: you can wrap multiple html elements in a fragment `<>`) --> $DIR/html-component-fail.rs:138:9 | 138 | { 2 } | ^^^^^^^^^^^^^^^^^^ error: optional attributes are only supported on elements. Components can use `Option` properties to accomplish the same thing. --> $DIR/html-component-fail.rs:141:28 | 141 | html! { }; | ^^^^^ error[E0425]: cannot find value `blah` in this scope --> $DIR/html-component-fail.rs:92:25 | 92 | html! { }; | ^^^^ not found in this scope error[E0609]: no field `r#type` on type `ChildProperties` --> $DIR/html-component-fail.rs:95:20 | 95 | html! { }; | ^^^^ unknown field | = note: available fields are: `string`, `int` error[E0599]: no method named `r#type` found for struct `ChildPropertiesBuilder` in the current scope --> $DIR/html-component-fail.rs:95:20 | 5 | #[derive(Clone, Properties, PartialEq)] | ---------- method `r#type` not found for this ... 95 | html! { }; | ^^^^ method not found in `ChildPropertiesBuilder` error[E0609]: no field `unknown` on type `ChildProperties` --> $DIR/html-component-fail.rs:97:20 | 97 | html! { }; | ^^^^^^^ unknown field | = note: available fields are: `string`, `int` error[E0599]: no method named `unknown` found for struct `ChildPropertiesBuilder` in the current scope --> $DIR/html-component-fail.rs:97:20 | 5 | #[derive(Clone, Properties, PartialEq)] | ---------- method `unknown` not found for this ... 97 | html! { }; | ^^^^^^^ method not found in `ChildPropertiesBuilder` error[E0277]: the trait bound `yew::virtual_dom::vcomp::VComp: yew::virtual_dom::Transformer<(), std::string::String>` is not satisfied --> $DIR/html-component-fail.rs:100:33 | 100 | html! { }; | ^^ the trait `yew::virtual_dom::Transformer<(), std::string::String>` is not implemented for `yew::virtual_dom::vcomp::VComp` | = help: the following implementations were found: > >> >> > and 3 others = note: required by `yew::virtual_dom::Transformer::transform` error[E0277]: the trait bound `yew::virtual_dom::vcomp::VComp: yew::virtual_dom::Transformer<{integer}, std::string::String>` is not satisfied --> $DIR/html-component-fail.rs:101:33 | 101 | html! { }; | ^ the trait `yew::virtual_dom::Transformer<{integer}, std::string::String>` is not implemented for `yew::virtual_dom::vcomp::VComp` | = help: the following implementations were found: > >> >> > and 3 others = note: required by `yew::virtual_dom::Transformer::transform` error[E0277]: the trait bound `yew::virtual_dom::vcomp::VComp: yew::virtual_dom::Transformer<{integer}, std::string::String>` is not satisfied --> $DIR/html-component-fail.rs:102:33 | 102 | html! { }; | ^^^ the trait `yew::virtual_dom::Transformer<{integer}, std::string::String>` is not implemented for `yew::virtual_dom::vcomp::VComp` | = help: the following implementations were found: > >> >> > and 3 others = note: required by `yew::virtual_dom::Transformer::transform` error[E0308]: mismatched types --> $DIR/html-component-fail.rs:103:30 | 103 | html! { }; | ^^ expected struct `yew::html::NodeRef`, found `()` error[E0277]: the trait bound `yew::virtual_dom::vcomp::VComp: yew::virtual_dom::Transformer` is not satisfied --> $DIR/html-component-fail.rs:105:24 | 105 | html! { }; | ^^^^ the trait `yew::virtual_dom::Transformer` is not implemented for `yew::virtual_dom::vcomp::VComp` | = help: the following implementations were found: > >> >> > and 3 others = note: required by `yew::virtual_dom::Transformer::transform` error[E0599]: no method named `string` found for struct `ChildPropertiesBuilder` in the current scope --> $DIR/html-component-fail.rs:106:20 | 5 | #[derive(Clone, Properties, PartialEq)] | ---------- method `string` not found for this ... 106 | html! { }; | ^^^^^^ method not found in `ChildPropertiesBuilder` | = help: items from traits can only be used if the trait is implemented and in scope = note: the following trait defines an item `string`, perhaps you need to implement it: candidate #1: `proc_macro::bridge::server::Literal` error[E0609]: no field `children` on type `ChildProperties` --> $DIR/html-component-fail.rs:110:14 | 110 | html! { { "Not allowed" } }; | ^^^^^ unknown field | = note: available fields are: `string`, `int` error[E0599]: no method named `children` found for struct `ChildPropertiesBuilder` in the current scope --> $DIR/html-component-fail.rs:110:14 | 5 | #[derive(Clone, Properties, PartialEq)] | ---------- method `children` not found for this ... 110 | html! { { "Not allowed" } }; | ^^^^^ method not found in `ChildPropertiesBuilder` error[E0609]: no field `children` on type `ChildProperties` --> $DIR/html-component-fail.rs:114:10 | 114 | | ^^^^^ unknown field | = note: available fields are: `string`, `int` error[E0599]: no method named `build` found for struct `ChildContainerPropertiesBuilder` in the current scope --> $DIR/html-component-fail.rs:119:14 | 31 | #[derive(Clone, Properties)] | ---------- method `build` not found for this ... 119 | html! { }; | ^^^^^^^^^^^^^^ method not found in `ChildContainerPropertiesBuilder` | = help: items from traits can only be used if the trait is implemented and in scope = note: the following trait defines an item `build`, perhaps you need to implement it: candidate #1: `proc_macro::bridge::server::TokenStreamBuilder` error[E0599]: no method named `build` found for struct `ChildContainerPropertiesBuilder` in the current scope --> $DIR/html-component-fail.rs:120:14 | 31 | #[derive(Clone, Properties)] | ---------- method `build` not found for this ... 120 | html! { }; | ^^^^^^^^^^^^^^ method not found in `ChildContainerPropertiesBuilder` | = help: items from traits can only be used if the trait is implemented and in scope = note: the following trait defines an item `build`, perhaps you need to implement it: candidate #1: `proc_macro::bridge::server::TokenStreamBuilder` error[E0277]: the trait bound `yew::virtual_dom::vcomp::VChild: std::convert::From` is not satisfied --> $DIR/html-component-fail.rs:121:31 | 121 | html! { { "Not allowed" } }; | ^^^^^^^^^^^^^ the trait `std::convert::From` is not implemented for `yew::virtual_dom::vcomp::VChild` | = note: required because of the requirements on the impl of `std::convert::Into>` for `yew::virtual_dom::vtext::VText` = note: required by `std::convert::Into::into` error[E0277]: the trait bound `yew::virtual_dom::vcomp::VChild: std::convert::From` is not satisfied --> $DIR/html-component-fail.rs:122:29 | 122 | html! { <> }; | ^ the trait `std::convert::From` is not implemented for `yew::virtual_dom::vcomp::VChild` | = note: required because of the requirements on the impl of `std::convert::Into>` for `yew::virtual_dom::vnode::VNode` = note: required by `std::convert::Into::into` error[E0277]: the trait bound `yew::virtual_dom::vcomp::VChild: std::convert::From` is not satisfied --> $DIR/html-component-fail.rs:123:30 | 123 | html! { }; | ^^^^^ the trait `std::convert::From` is not implemented for `yew::virtual_dom::vcomp::VChild` | = note: required because of the requirements on the impl of `std::convert::Into>` for `yew::virtual_dom::vnode::VNode` = note: required by `std::convert::Into::into`