File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -633,6 +633,7 @@ pub use handler::HttpResponseDeleted;
633633pub use handler:: HttpResponseHeaders ;
634634pub use handler:: HttpResponseOk ;
635635pub use handler:: HttpResponseUpdatedNoContent ;
636+ pub use handler:: HttpTypedResponse ;
636637pub use handler:: NoHeaders ;
637638pub use handler:: Path ;
638639pub use handler:: Query ;
Original file line number Diff line number Diff line change 1- error[E0277]: the trait bound `String: dropshot::handler:: HttpTypedResponse` is not satisfied
1+ error[E0277]: the trait bound `String: HttpTypedResponse` is not satisfied
22 --> tests/fail/bad_endpoint12.rs:16:6
33 |
4416 | ) -> Result<String, HttpError> {
5- | ^^^^^^ the trait `dropshot::handler:: HttpTypedResponse` is not implemented for `String`
5+ | ^^^^^^ the trait `HttpTypedResponse` is not implemented for `String`
66 |
77 = note: required because of the requirements on the impl of `HttpResponse` for `String`
88note: required because of the requirements on the impl of `ResultTrait` for `Result<String, HttpError>`
You can’t perform that action at this time.
0 commit comments