shuttle-codegen 0.40.0

Proc-macro code generator for the shuttle.rs service
Documentation
error: no route provided

         = help: Add a route to your endpoint: `route = "/hello")`

 --> tests/ui/next/missing-endpoint-param.rs:2:32
  |
2 |     #[shuttle_codegen::endpoint(method = get)]
  |                                ^^^^^^^^^^^^^^

error: no method provided

         = help: Add a method to your endpoint: `method = get`

 --> tests/ui/next/missing-endpoint-param.rs:7:32
  |
7 |     #[shuttle_codegen::endpoint(route = "/goodbye")]
  |                                ^^^^^^^^^^^^^^^^^^^^

error: missing endpoint arguments

         = help: The endpoint takes two arguments: `endpoint(method = get, route = "/hello")`

  --> tests/ui/next/missing-endpoint-param.rs:12:32
   |
12 |     #[shuttle_codegen::endpoint()]
   |                                ^^

error[E0601]: `main` function not found in crate `$CRATE`
  --> tests/ui/next/missing-endpoint-param.rs:16:2
   |
16 | }
   |  ^ consider adding a `main` function to `$DIR/tests/ui/next/missing-endpoint-param.rs`