composure_macros 0.2.1

Procedural macros for Composure Discord bots: #[command], #[app], #[view] and rsx! markup
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
error: inline handlers need the markup to be in a `#[view]` function
 --> tests/ui/view_inline_handler_outside_view.rs:4:42
  |
4 |     let _ = rsx! { <Row><Button on:click:hi=|_| Ephemeral("hi")>"Hi"</Button></Row> };
  |                                          ^^

warning: unused import: `command::Ephemeral`
 --> tests/ui/view_inline_handler_outside_view.rs:1:17
  |
1 | use composure::{command::Ephemeral, rsx};
  |                 ^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default