composure_macros 0.1.2

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
14
15
16
17
error[E0277]: the trait bound `inspect: SubcommandDefinition` is not satisfied
 --> tests/ui/context_command_as_subcommand.rs:9:32
  |
9 | #[composure::group(subcommands(inspect))]
  |                                ^^^^^^^ unsatisfied trait bound
  |
help: the trait `SubcommandDefinition` is not implemented for `inspect`
 --> tests/ui/context_command_as_subcommand.rs:3:1
  |
3 | #[composure::command(user, name = "Inspect")]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: the trait `SubcommandDefinition` is implemented for `Admin`
 --> tests/ui/context_command_as_subcommand.rs:9:1
  |
9 | #[composure::group(subcommands(inspect))]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  = note: this error originates in the attribute macro `composure::command` which comes from the expansion of the attribute macro `composure::group` (in Nightly builds, run with -Z macro-backtrace for more info)