1- error[E0277]: the trait bound `Ret: dropshot::handler:: HttpResponseContent` is not satisfied
1+ error[E0277]: the trait bound `Ret: HttpResponseContent` is not satisfied
22 --> tests/fail/bad_trait_endpoint7.rs:41:27
33 |
4441 | Ok(HttpResponseOk(Ret { x: "Oxide".to_string(), y: 0x1de }))
@@ -16,7 +16,7 @@ error[E0277]: the trait bound `Ret: dropshot::handler::HttpResponseContent` is n
1616 (T0, T1, T2, T3)
1717 (T0, T1, T2, T3, T4)
1818 and $N others
19- = note: required for `Ret` to implement `dropshot::handler:: HttpResponseContent`
19+ = note: required for `Ret` to implement `HttpResponseContent`
2020note: required by a bound in `dropshot::HttpResponseOk`
2121 --> src/handler.rs
2222 |
@@ -41,7 +41,7 @@ error[E0277]: the trait bound `Ret: serde::ser::Serialize` is not satisfied
4141 (T0, T1, T2, T3)
4242 (T0, T1, T2, T3, T4)
4343 and $N others
44- = note: required for `Ret` to implement `dropshot::handler:: HttpResponseContent`
44+ = note: required for `Ret` to implement `HttpResponseContent`
4545note: required by a bound in `dropshot::HttpResponseOk`
4646 --> src/handler.rs
4747 |
@@ -66,7 +66,7 @@ error[E0277]: the trait bound `Ret: serde::ser::Serialize` is not satisfied
6666 (T0, T1, T2, T3)
6767 (T0, T1, T2, T3, T4)
6868 and $N others
69- = note: required for `Ret` to implement `dropshot::handler:: HttpResponseContent`
69+ = note: required for `Ret` to implement `HttpResponseContent`
7070note: required by a bound in `dropshot::HttpResponseOk`
7171 --> src/handler.rs
7272 |
@@ -93,14 +93,14 @@ error[E0277]: the trait bound `Ret: serde::ser::Serialize` is not satisfied
9393 (T0, T1, T2, T3)
9494 (T0, T1, T2, T3, T4)
9595 and $N others
96- = note: required for `Ret` to implement `dropshot::handler:: HttpResponseContent`
96+ = note: required for `Ret` to implement `HttpResponseContent`
9797note: required by a bound in `dropshot::HttpResponseOk`
9898 --> src/handler.rs
9999 |
100100 | pub struct HttpResponseOk<T: HttpResponseContent + Send + Sync + 'static>(
101101 | ^^^^^^^^^^^^^^^^^^^ required by this bound in `HttpResponseOk`
102102
103- error[E0277]: the trait bound `Ret: dropshot::handler:: HttpResponseContent` is not satisfied
103+ error[E0277]: the trait bound `Ret: HttpResponseContent` is not satisfied
104104 --> tests/fail/bad_trait_endpoint7.rs:28:10
105105 |
10610628 | ) -> Result<HttpResponseOk<Ret>, HttpError>;
@@ -116,7 +116,7 @@ error[E0277]: the trait bound `Ret: dropshot::handler::HttpResponseContent` is n
116116 (T0, T1, T2, T3)
117117 (T0, T1, T2, T3, T4)
118118 and $N others
119- = note: required for `Ret` to implement `dropshot::handler:: HttpResponseContent`
119+ = note: required for `Ret` to implement `HttpResponseContent`
120120note: required by a bound in `dropshot::HttpResponseOk`
121121 --> src/handler.rs
122122 |
@@ -141,7 +141,7 @@ error[E0277]: the trait bound `Ret: serde::ser::Serialize` is not satisfied
141141 (T0, T1, T2, T3)
142142 (T0, T1, T2, T3, T4)
143143 and $N others
144- = note: required for `Ret` to implement `dropshot::handler:: HttpResponseContent`
144+ = note: required for `Ret` to implement `HttpResponseContent`
145145note: required by a bound in `dropshot::HttpResponseOk`
146146 --> src/handler.rs
147147 |
0 commit comments