diff --git a/yew-macro/tests/macro/html-tag-fail.stderr b/yew-macro/tests/macro/html-tag-fail.stderr index 1571cb83e14..d13496e52fd 100644 --- a/yew-macro/tests/macro/html-tag-fail.stderr +++ b/yew-macro/tests/macro/html-tag-fail.stderr @@ -204,10 +204,10 @@ error[E0308]: mismatched types --> $DIR/html-tag-fail.rs:32:20 | 32 | html! { }; - | ^^^^^^^ expected struct `yew::callback::Callback`, found integer + | ^^^^^^^ expected enum `yew::callback::Callback`, found integer | - = note: expected struct `yew::callback::Callback` - found type `{integer}` + = note: expected enum `yew::callback::Callback` + found type `{integer}` = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0308]: mismatched types @@ -216,8 +216,8 @@ error[E0308]: mismatched types 33 | html! { }; | ^^^^^^^ expected struct `web_sys::features::gen_MouseEvent::MouseEvent`, found struct `std::string::String` | - = note: expected struct `yew::callback::Callback` - found struct `yew::callback::Callback` + = note: expected enum `yew::callback::Callback` + found enum `yew::callback::Callback` = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0599]: no method named `to_string` found for struct `NotToString` in the current scope