solarsail-macros 0.1.0

macros for the solarsail crate
Documentation
error: route! macro must contain a pattern matching expected methods as its first argument
 --> $DIR/route_with_missing_method.rs:4:18
  |
4 |     matches!((), route!("resources" / id));
  |                  ^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in the macro `route` (in Nightly builds, run with -Z macro-backtrace for more info)

error: expected pattern, found `<eof>`
 --> $DIR/route_with_missing_method.rs:4:18
  |
4 |     matches!((), route!("resources" / id));
  |                  ^^^^^^^^^^^^^^^^^^^^^^^^ this macro call doesn't expand to a pattern