46 lines
1.6 KiB
Plaintext
46 lines
1.6 KiB
Plaintext
error: return type is incorrect
|
|
--> tests/ui/component_absolute.rs:2:1
|
|
|
|
|
2 | fn missing_return_type() {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= help: return signature must be `-> impl IntoView`
|
|
|
|
error: supported fields are `optional`, `optional_no_strip`, `strip_option`, `default`, `into` and `attrs`
|
|
--> tests/ui/component_absolute.rs:5:31
|
|
|
|
|
5 | fn unknown_prop_option(#[prop(hello)] test: bool) -> impl ::leptos::IntoView {
|
|
| ^^^^^
|
|
|
|
error: `optional` conflicts with mutually exclusive `optional_no_strip`
|
|
--> tests/ui/component_absolute.rs:11:12
|
|
|
|
|
11 | #[prop(optional, optional_no_strip)] conflicting: bool,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: `optional` conflicts with mutually exclusive `strip_option`
|
|
--> tests/ui/component_absolute.rs:18:12
|
|
|
|
|
18 | #[prop(optional, strip_option)] conflicting: bool,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: `optional_no_strip` conflicts with mutually exclusive `strip_option`
|
|
--> tests/ui/component_absolute.rs:25:12
|
|
|
|
|
25 | #[prop(optional_no_strip, strip_option)] conflicting: bool,
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: unexpected end of input, expected assignment `=`
|
|
--> tests/ui/component_absolute.rs:32:19
|
|
|
|
|
32 | #[prop(default)] default: bool,
|
|
| ^
|
|
|
|
error: unexpected end of input, expected one of: identifier, `::`, `<`, `_`, literal, `const`, `ref`, `mut`, `&`, parentheses, square brackets, `..`, `const`
|
|
|
|
= help: try `#[prop(default=5 * 10)]`
|
|
--> tests/ui/component_absolute.rs:39:22
|
|
|
|
|
39 | #[prop(default= |)] default: bool,
|
|
| ^
|