yew/packages/yew-macro/tests/function_component_attr/bad-props-param-fail.stderr
mc1098 58753d9607
Add no_implicit_prelude to proc macro tests (#2033)
* 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
2021-09-05 23:33:30 +01:00

6 lines
171 B
Plaintext

error: expected a reference to a `Properties` type (try: `&Props`)
--> $DIR/bad-props-param-fail.rs:9:16
|
9 | fn comp(props: Props) -> Html {
| ^^^^^