error: invalid component error: `with-payload` is declared with a String payload, but this event carries none; invoke it with an argument — `(with-payload expr)` — or declare it as `(handler with-payload)` --> :5:24 | 5 | (container :on-click with-payload | ^^^^^^^^^^^^ error: this event carries a String payload; declare the handler as `(handler plain String)` --> :6:28 | 6 | (text-input :on-change plain))) | ^^^^^ --> tests/ui/payload-mismatch.rs:1:1 | 1 | / guiduck_component_macro::component_str!(r##" 2 | | (component Broken 3 | | (handler plain) 4 | | (handler with-payload String) 5 | | (container :on-click with-payload 6 | | (text-input :on-change plain))) 7 | | "##); | |____^ | = note: this error originates in the macro `guiduck_component_macro::component_str` (in Nightly builds, run with -Z macro-backtrace for more info)