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: `Ctx` is for commands; a component handler takes `ComponentCtx`
 --> tests/ui/component_wrong_ctx.rs:4:20
  |
4 | fn wrong_ctx(_ctx: Ctx) -> String {
  |                    ^^^

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