error: expected `=` --> tests/attributes/event_attributes_fail.rs:5:24 | 5 | rsx! {
}; | ^ error: expected curly braces --> tests/attributes/event_attributes_fail.rs:6:25 | 6 | rsx! {
}; | ^ error: expected `=` --> tests/attributes/event_attributes_fail.rs:7:25 | 7 | rsx! {
}; | ^ error: Duplicate attribute `onclick` --> tests/attributes/event_attributes_fail.rs:11:13 | 11 | onclick={Callback::new(|_event: wal_core::events::MouseEvent| {})}> | ^^^^^^^ error: expected curly braces --> tests/attributes/event_attributes_fail.rs:14:26 | 14 | rsx! {
}; | ^^^^^^^^^^ error: expected curly braces --> tests/attributes/event_attributes_fail.rs:17:25 | 17 | rsx! {
}; | ^^^^^^^ error: Expected a non-empty expression block --> tests/attributes/event_attributes_fail.rs:18:25 | 18 | rsx! {
}; | ^^ error[E0308]: mismatched types --> tests/attributes/event_attributes_fail.rs:15:26 | 15 | rsx! {
}; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Callback`, found `Callback` | = note: expected struct `Callback` found struct `Callback` error[E0308]: mismatched types --> tests/attributes/event_attributes_fail.rs:16:26 | 16 | rsx! {
}; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Callback`, found `Callback` | = note: expected struct `Callback` found struct `Callback` error[E0308]: mismatched types --> tests/attributes/event_attributes_fail.rs:19:26 | 19 | rsx! {
}; | ^^^^^^^ expected `Callback`, found `&str` | = note: expected struct `Callback` found reference `&'static str`