unresolved-name.stderr raw

error: invalid component
       error: `missing` is not a declared handler
         --> <inline>:4:24
         |
       4 |   (container :on-click missing
         |                        ^^^^^^^

       error: `typo` is not a declared prop or state
         --> <inline>:5:19
         |
       5 |     (text :text "{typo}")))
         |                   ^^^^

 --> tests/ui/unresolved-name.rs:1:1
  |
1 | / guiduck_component_macro::component_str!(r##"
2 | | (component Broken
3 | |   (state count i32 :init 0)
4 | |   (container :on-click missing
5 | |     (text :text "{typo}")))
6 | | "##);
  | |____^
  |
  = note: this error originates in the macro `guiduck_component_macro::component_str` (in Nightly builds, run with -Z macro-backtrace for more info)