error[E0063]: missing fields `x`, `y` in initializer of `Ret`
--> $DIR/bad_endpoint6.rs:17:1
|
17 | / #[endpoint {
18 | | method = GET,
19 | | path = "/test",
20 | | }]
| |__^ missing `x`, `y`
error[E0277]: the trait bound `Ret: serde::ser::Serialize` is not satisfied
--> $DIR/bad_endpoint6.rs:17:1
|
17 | / #[endpoint {
18 | | method = GET,
19 | | path = "/test",
20 | | }]
| |__^ the trait `serde::ser::Serialize` is not implemented for `Ret`
|
= note: required by `dropshot::HttpResponseOk`
error[E0277]: the trait bound `fn(std::sync::Arc<dropshot::RequestContext>) -> impl std::future::Future {<impl std::convert::From<bad_endpoint> for dropshot::ApiEndpoint>::from::bad_endpoint}: dropshot::handler:: HttpHandlerFunc<_, _>` is not satisfied
--> $DIR/bad_endpoint6.rs:17:1
|
17 | / #[endpoint {
18 | | method = GET,
19 | | path = "/test",
20 | | }]
| |__^ the trait `dropshot::handler::HttpHandlerFunc<_, _>` is not implemented for `fn(std::sync::Arc<dropshot::RequestContext>) -> impl std::future::Future {<impl std::convert::From<bad_endpoint> for dropshot::ApiEndpoint>::from::bad_endpoint}`
That should be referencing the offending code, not the macro.
In particular, this output from
bad_endpoint6.stderrseems to have regressed:That should be referencing the offending code, not the macro.