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)