error: this open tag has no corresponding close tag --> $DIR/html-component-fail.rs:66:13 | 66 | html! { }; | ^^^^^^^ error: expected identifier --> $DIR/html-component-fail.rs:67:22 | 67 | html! { }; | ^ error: unexpected end of input, expected identifier --> $DIR/html-component-fail.rs:68:5 | 68 | html! { }; | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error: unexpected token --> $DIR/html-component-fail.rs:69:20 | 69 | html! { }; | ^^^^^ error: this open tag has no corresponding close tag --> $DIR/html-component-fail.rs:70:13 | 70 | html! { }; | ^^^^^^^^^^^^^^^^^^^ error: unexpected token --> $DIR/html-component-fail.rs:71:38 | 71 | html! { }; | ^^^ error: unexpected token --> $DIR/html-component-fail.rs:72:27 | 72 | html! { }; | ^^^^ error: unexpected token --> $DIR/html-component-fail.rs:74:31 | 74 | html! { }; | ^^ error: expected identifier --> $DIR/html-component-fail.rs:75:20 | 75 | html! { }; | ^^^^ error: expected identifier --> $DIR/html-component-fail.rs:76:20 | 76 | html! { }; | ^^^^^^^^^^^^^^^^^ error: unexpected end of input, expected expression --> $DIR/html-component-fail.rs:78:5 | 78 | html! { }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error: too many refs set --> $DIR/html-component-fail.rs:83:33 | 83 | html! { }; | ^^^ error: this close tag has no corresponding open tag --> $DIR/html-component-fail.rs:86:13 | 86 | html! { }; | ^^^^^^^^ error: this open tag has no corresponding close tag --> $DIR/html-component-fail.rs:87:13 | 87 | html! { }; | ^^^^^^^ error: only one root html element allowed --> $DIR/html-component-fail.rs:88:28 | 88 | html! { }; | ^^^^^^^^^^^^^^^ error: this close tag has no corresponding open tag --> $DIR/html-component-fail.rs:97:30 | 97 | html! { > }; | ^^^^^^^^^^ error: this close tag has no corresponding open tag --> $DIR/html-component-fail.rs:98:30 | 98 | html! { >>> }; | ^^^^^^^^^^^^^^^^^^^^^^^ error[E0425]: cannot find value `blah` in this scope --> $DIR/html-component-fail.rs:73:25 | 73 | html! { }; | ^^^^ not found in this scope error[E0609]: no field `unknown` on type `ChildProperties` --> $DIR/html-component-fail.rs:77:20 | 77 | html! { }; | ^^^^^^^ unknown field | = note: available fields are: `string`, `int` error[E0599]: no method named `unknown` found for type `ChildPropertiesBuilder` in the current scope --> $DIR/html-component-fail.rs:77:20 | 7 | #[derive(Clone, Properties, PartialEq)] | - method `unknown` not found for this ... 77 | html! { }; | ^^^^^^^ method not found in `ChildPropertiesBuilder` error[E0308]: mismatched types --> $DIR/html-component-fail.rs:79:33 | 79 | html! { }; | ^^ expected struct `std::string::String`, found () | = note: expected type `std::string::String` found type `()` error[E0308]: mismatched types --> $DIR/html-component-fail.rs:80:33 | 80 | html! { }; | ^ | | | expected struct `std::string::String`, found integer | help: try using a conversion method: `3.to_string()` | = note: expected type `std::string::String` found type `{integer}` error[E0308]: mismatched types --> $DIR/html-component-fail.rs:81:33 | 81 | html! { }; | ^^^ | | | expected struct `std::string::String`, found integer | help: try using a conversion method: `{3}.to_string()` | = note: expected type `std::string::String` found type `{integer}` error[E0308]: mismatched types --> $DIR/html-component-fail.rs:82:30 | 82 | html! { }; | ^^ expected struct `yew::html::NodeRef`, found () | = note: expected type `yew::html::NodeRef` found type `()` error[E0308]: mismatched types --> $DIR/html-component-fail.rs:84:24 | 84 | html! { }; | ^^^^ expected i32, found u32 | help: you can convert an `u32` to `i32` and panic if the converted value wouldn't fit | 84 | html! { }; | ^^^^^^^^^^^^^^^^^^^^^^^^ error[E0599]: no method named `string` found for type `ChildPropertiesBuilder` in the current scope --> $DIR/html-component-fail.rs:85:20 | 7 | #[derive(Clone, Properties, PartialEq)] | - method `string` not found for this ... 85 | html! { }; | ^^^^^^ method not found in `ChildPropertiesBuilder` error[E0599]: no method named `children` found for type `ChildPropertiesBuilder` in the current scope --> $DIR/html-component-fail.rs:89:5 | 7 | #[derive(Clone, Properties, PartialEq)] | - method `children` not found for this ... 89 | html! { { "Not allowed" } }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `ChildPropertiesBuilder` | = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error[E0599]: no method named `build` found for type `ChildContainerPropertiesBuilder` in the current scope --> $DIR/html-component-fail.rs:91:5 | 36 | #[derive(Clone, Properties)] | - method `build` not found for this ... 91 | html! { }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `ChildContainerPropertiesBuilder` | = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error[E0599]: no method named `build` found for type `ChildContainerPropertiesBuilder` in the current scope --> $DIR/html-component-fail.rs:92:5 | 36 | #[derive(Clone, Properties)] | - method `build` not found for this ... 92 | html! { }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `ChildContainerPropertiesBuilder` | = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error[E0277]: the trait bound `yew::virtual_dom::vcomp::VChild: std::convert::From` is not satisfied --> $DIR/html-component-fail.rs:93:5 | 93 | 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::vnode::VNode` = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error[E0277]: the trait bound `yew::virtual_dom::vcomp::VChild: std::convert::From` is not satisfied --> $DIR/html-component-fail.rs:94:5 | 94 | 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: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error[E0277]: the trait bound `yew::virtual_dom::vcomp::VChild: std::convert::From` is not satisfied --> $DIR/html-component-fail.rs:95:5 | 95 | 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: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)