Open
Description
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/poem-3.0.4/src/route/router_method.rs:186:33
[INFO] [stdout] |
[INFO] [stdout] 186 | ... let mut resp = self.call(req).await?;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] 187 | ... resp.set_body(());
[INFO] [stdout] | -------- type must be known at this point
[INFO] [stdout] |
[INFO] [stdout] help: consider giving `resp` an explicit type
[INFO] [stdout] |
[INFO] [stdout] 186 | let mut resp: /* Type */ = self.call(req).await?;
[INFO] [stdout] | ++++++++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0271]: type mismatch resolving `impl Future<Output = Result<<RouteMethod as Endpoint>::Output, Error>> + Send normalizes-to _`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/poem-3.0.4/src/route/router_method.rs:186:44
[INFO] [stdout] |
[INFO] [stdout] 186 | ... let mut resp = self.call(req).await?;
[INFO] [stdout] | ^^^^^^^^^^^^^^ types differ
[INFO] [stdout]
Metadata
Metadata
Assignees
Type
Projects
Status
todo