Open
Description
error[E0308]: mismatched types
--> src/common/manager.rs:12:57
|
12 | pub async fn run_manager() -> Result<(), rocket::Error> {
| _______________________________-------------------------_^
| | |
| | expected `Result<(), rocket::Error>` because of return type
13 | | // let mut my_config = Config::development();
14 | | // my_config.set_port(18001);
15 | | let db: HashMap<Key, String> = HashMap::new();
... |
51 | | .await
52 | | }
| |_^ expected `()`, found struct `Rocket`
|
= note: expected enum `Result<(), _>`
found enum `Result<Rocket<Ignite>, _>`
Rustc version:
$ rustc --version
rustc 1.62.0-nightly (1f7fb6413 2022-04-10)
Metadata
Metadata
Assignees
Labels
No labels