Skip to content

Commit

Permalink
Update stderr file
Browse files Browse the repository at this point in the history
  • Loading branch information
lukerandall committed Apr 24, 2020
1 parent 8f62128 commit 1473dc3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions yew-macro/tests/macro/html-tag-fail.stderr
Expand Up @@ -159,19 +159,19 @@ error[E0308]: mismatched types
--> $DIR/html-tag-fail.rs:32:20
|
32 | html! { <input onclick=1 /> };
| ^^^^^^^ expected struct `yew::callback::Callback`, found integer
| ^^^^^^^ expected enum `yew::callback::Callback`, found integer
|
= note: expected struct `yew::callback::Callback<web_sys::features::gen_MouseEvent::MouseEvent>`
found type `{integer}`
= note: expected enum `yew::callback::Callback<web_sys::features::gen_MouseEvent::MouseEvent>`
found type `{integer}`

error[E0308]: mismatched types
--> $DIR/html-tag-fail.rs:33:20
|
33 | html! { <input onclick=Callback::from(|a: String| ()) /> };
| ^^^^^^^ expected struct `web_sys::features::gen_MouseEvent::MouseEvent`, found struct `std::string::String`
|
= note: expected struct `yew::callback::Callback<web_sys::features::gen_MouseEvent::MouseEvent>`
found struct `yew::callback::Callback<std::string::String>`
= note: expected enum `yew::callback::Callback<web_sys::features::gen_MouseEvent::MouseEvent>`
found enum `yew::callback::Callback<std::string::String>`

error[E0599]: no method named `to_string` found for struct `NotToString` in the current scope
--> $DIR/html-tag-fail.rs:35:27
Expand Down

0 comments on commit 1473dc3

Please sign in to comment.