error: Unsupported attribute `attr`. Custom components supports only `props` and `key` attributes --> tests/custom_components/custom_component_wrong_attributes_fail.rs:11:37 | 11 | rsx! { }; | ^^^^ error: Unsupported attribute `attr`. Custom components supports only `props` and `key` attributes --> tests/custom_components/custom_component_wrong_attributes_fail.rs:12:47 | 12 | rsx! { }; | ^^^^ error: Unsupported attribute `attr`. Custom components supports only `props` and `key` attributes --> tests/custom_components/custom_component_wrong_attributes_fail.rs:13:49 | 13 | rsx! { }; | ^^^^ error: Unsupported attribute `attr`. Custom components supports only `props` and `key` attributes --> tests/custom_components/custom_component_wrong_attributes_fail.rs:14:47 | 14 | rsx! { }; | ^^^^ error: Duplicate attribute `props` --> tests/custom_components/custom_component_wrong_attributes_fail.rs:15:47 | 15 | rsx! { }; | ^^^^^ error: Duplicate attribute `props` --> tests/custom_components/custom_component_wrong_attributes_fail.rs:16:59 | 16 | rsx! { }; | ^^^^^ error: Duplicate attribute `key` --> tests/custom_components/custom_component_wrong_attributes_fail.rs:17:50 | 17 | rsx! { }; | ^^^ error: Duplicate attribute `key` --> tests/custom_components/custom_component_wrong_attributes_fail.rs:18:60 | 18 | rsx! { }; | ^^^ error: expected `=` --> tests/custom_components/custom_component_wrong_attributes_fail.rs:19:43 | 19 | rsx! { }; | ^ error: Expected a literal, a struct literal expression or an expression block --> tests/custom_components/custom_component_wrong_attributes_fail.rs:20:45 | 20 | rsx! { }; | ^ error: Expected a literal, a struct literal expression or an expression block --> tests/custom_components/custom_component_wrong_attributes_fail.rs:21:45 | 21 | rsx! { }; | ^^^ error: expected `=` --> tests/custom_components/custom_component_wrong_attributes_fail.rs:22:41 | 22 | rsx! { }; | ^ error: Expected a literal or an expression block --> tests/custom_components/custom_component_wrong_attributes_fail.rs:23:43 | 23 | rsx! { }; | ^ error: Expected a literal or an expression block --> tests/custom_components/custom_component_wrong_attributes_fail.rs:24:43 | 24 | rsx! { }; | ^^^^^ error[E0599]: `NonDisplayStruct` doesn't implement `std::fmt::Display` --> tests/custom_components/custom_component_wrong_attributes_fail.rs:25:43 | 25 | rsx! { }; | ^^^^^^^^^^^^^^^^^^ `NonDisplayStruct` cannot be formatted with the default formatter | ::: tests/custom_components/../utils/non_display_struct.rs | | pub struct NonDisplayStruct; | --------------------------- | | | method `to_string` not found for this struct | doesn't satisfy `NonDisplayStruct: ToString` | doesn't satisfy `NonDisplayStruct: std::fmt::Display` | = note: the following trait bounds were not satisfied: `NonDisplayStruct: std::fmt::Display` which is required by `NonDisplayStruct: ToString` note: the trait `std::fmt::Display` must be implemented --> $RUST/core/src/fmt/mod.rs | | pub trait Display { | ^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> tests/custom_components/custom_component_wrong_attributes_fail.rs:26:45 | 26 | rsx! { }; | - ^^^^^^^ expected `i32`, found `&str` | | | arguments to this function are incorrect | note: associated function defined here --> $WORKSPACE/wal-core/src/virtual_dom/vcomponent.rs | | pub fn new(props: C::Properties, key: Option) -> VComponent | ^^^ error[E0308]: mismatched types --> tests/custom_components/custom_component_wrong_attributes_fail.rs:27:46 | 27 | rsx! { }; | ^^^^^^^ expected `i32`, found `&str` error[E0308]: mismatched types --> tests/custom_components/custom_component_wrong_attributes_fail.rs:28:45 | 28 | rsx! { }; | - ^^^^^^^^^^^^^^^^^^^ expected `i32`, found `NonDisplayStruct` | | | arguments to this function are incorrect | note: associated function defined here --> $WORKSPACE/wal-core/src/virtual_dom/vcomponent.rs | | pub fn new(props: C::Properties, key: Option) -> VComponent | ^^^