shuttle-codegen 0.57.0

Proc-macro code generator for the Shuttle platform (shuttle.dev)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: shuttle_runtime::main functions need to return a service

         = help: See the docs for services with first class support
         = note: https://docs.rs/shuttle-runtime/latest/shuttle_runtime/attr.main.html#shuttle-supported-services

 --> tests/compiler_output/missing-return.rs:2:1
  |
2 | async fn missing_return() {}
  | ^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0601]: `main` function not found in crate `$CRATE`
 --> tests/compiler_output/missing-return.rs:2:29
  |
2 | async fn missing_return() {}
  |                             ^ consider adding a `main` function to `$DIR/tests/compiler_output/missing-return.rs`