mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
* Add no_implicit_prelude to derive_props test * Add no_implicit_prelude to html_macro tests * Fix function_component macro tests function_component macro tests weren't being run by try build due to change in dir name. Imports corrected now that function_component is now in yew. Adds no_implicit_prelude to *-pass tests * Add no_implicit_prelude to props_macro tests * fix typo in comment
12 lines
478 B
Plaintext
12 lines
478 B
Plaintext
error: function components can accept at most one parameter for the props
|
|
--> $DIR/multiple-param-fail.rs:9:24
|
|
|
|
|
9 | fn comp(props: &Props, invalid: String) -> Html {
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
error: function components can accept at most one parameter for the props
|
|
--> $DIR/multiple-param-fail.rs:19:25
|
|
|
|
|
19 | fn comp3(props: &Props, invalid: String, another_invalid: u32) -> Html {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|