shuttle-codegen 0.40.0

Proc-macro code generator for the shuttle.rs service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: only one method of each type is allowed per route

         = help: Remove one of the post methods on the "/hello" route.

  --> tests/ui/next/duplicate-methods.rs:12:42
   |
12 |     #[shuttle_codegen::endpoint(method = post, route = "/hello")]
   |                                          ^^^^

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