@@ -2,8 +2,13 @@ error[E0277]: the trait bound `QueryParams: schemars::JsonSchema` is not satisfi
22 --> tests/fail/bad_channel4.rs:22:14
33 |
4422 | _params: Query<QueryParams>,
5- | ^^^^^^^^^^^^^^^^^^ the trait `schemars::JsonSchema` is not implemented for `QueryParams`
5+ | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
66 |
7+ help: the trait `schemars::JsonSchema` is not implemented for `QueryParams`
8+ --> tests/fail/bad_channel4.rs:11:1
9+ |
10+ 11 | struct QueryParams {
11+ | ^^^^^^^^^^^^^^^^^^
712 = help: the following other types implement trait `schemars::JsonSchema`:
813 &'a T
914 &'a mut T
@@ -24,8 +29,13 @@ error[E0277]: the trait bound `QueryParams: serde::Deserialize<'de>` is not sati
2429 --> tests/fail/bad_channel4.rs:22:14
2530 |
263122 | _params: Query<QueryParams>,
27- | ^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `QueryParams`
32+ | ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
33+ |
34+ help: the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `QueryParams`
35+ --> tests/fail/bad_channel4.rs:11:1
2836 |
37+ 11 | struct QueryParams {
38+ | ^^^^^^^^^^^^^^^^^^
2939 = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `QueryParams` type
3040 = note: for types from other crates check whether the crate offers a `serde` feature flag
3141 = help: the following other types implement trait `serde_core::de::Deserialize<'de>`:
@@ -53,8 +63,13 @@ error[E0277]: the trait bound `QueryParams: schemars::JsonSchema` is not satisfi
536322 | | _params: Query<QueryParams>,
546423 | | _upgraded: WebsocketConnection,
556524 | | ) -> dropshot::WebsocketChannelResult {
56- | |_____________________________________^ the trait `schemars::JsonSchema` is not implemented for `QueryParams`
66+ | |_____________________________________^ unsatisfied trait bound
67+ |
68+ help: the trait `schemars::JsonSchema` is not implemented for `QueryParams`
69+ --> tests/fail/bad_channel4.rs:11:1
5770 |
71+ 11 | struct QueryParams {
72+ | ^^^^^^^^^^^^^^^^^^
5873 = help: the following other types implement trait `schemars::JsonSchema`:
5974 &'a T
6075 &'a mut T
@@ -79,8 +94,13 @@ error[E0277]: the trait bound `QueryParams: serde::Deserialize<'de>` is not sati
799422 | | _params: Query<QueryParams>,
809523 | | _upgraded: WebsocketConnection,
819624 | | ) -> dropshot::WebsocketChannelResult {
82- | |_____________________________________^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `QueryParams`
97+ | |_____________________________________^ unsatisfied trait bound
8398 |
99+ help: the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `QueryParams`
100+ --> tests/fail/bad_channel4.rs:11:1
101+ |
102+ 11 | struct QueryParams {
103+ | ^^^^^^^^^^^^^^^^^^
84104 = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `QueryParams` type
85105 = note: for types from other crates check whether the crate offers a `serde` feature flag
86106 = help: the following other types implement trait `serde_core::de::Deserialize<'de>`:
@@ -107,8 +127,13 @@ error[E0277]: the trait bound `QueryParams: schemars::JsonSchema` is not satisfi
10712717 | | protocol = WEBSOCKETS,
10812818 | | path = "/test",
10912919 | | }]
110- | |__^ the trait `schemars::JsonSchema` is not implemented for `QueryParams`
130+ | |__^ unsatisfied trait bound
131+ |
132+ help: the trait `schemars::JsonSchema` is not implemented for `QueryParams`
133+ --> tests/fail/bad_channel4.rs:11:1
111134 |
135+ 11 | struct QueryParams {
136+ | ^^^^^^^^^^^^^^^^^^
112137 = help: the following other types implement trait `schemars::JsonSchema`:
113138 &'a T
114139 &'a mut T
@@ -133,8 +158,13 @@ error[E0277]: the trait bound `QueryParams: serde::Deserialize<'de>` is not sati
13315817 | | protocol = WEBSOCKETS,
13415918 | | path = "/test",
13516019 | | }]
136- | |__^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `QueryParams`
161+ | |__^ unsatisfied trait bound
162+ |
163+ help: the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `QueryParams`
164+ --> tests/fail/bad_channel4.rs:11:1
137165 |
166+ 11 | struct QueryParams {
167+ | ^^^^^^^^^^^^^^^^^^
138168 = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `QueryParams` type
139169 = note: for types from other crates check whether the crate offers a `serde` feature flag
140170 = help: the following other types implement trait `serde_core::de::Deserialize<'de>`:
0 commit comments