We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In particular, this output from bad_endpoint6.stderr seems to have regressed:
bad_endpoint6.stderr
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.
The text was updated successfully, but these errors were encountered:
Closing this as it seems to be a problem in rust 1.46.0: rust-lang/rust#76360
Things should improve in a subsequent rust release.
Sorry, something went wrong.
No branches or pull requests
In particular, this output from
bad_endpoint6.stderr
seems to have regressed:That should be referencing the offending code, not the macro.
The text was updated successfully, but these errors were encountered: