1
0
Fork 0
mirror of https://gitlab.com/msrd0/gotham-restful.git synced 2025-02-23 13:02:28 +00:00
deprecated-gotham-restful/tests/ui/endpoint/invalid_placeholders_ty.stderr

55 lines
2.5 KiB
Text
Raw Normal View History

2021-03-09 21:23:44 +01:00
error[E0277]: the trait bound `FooPlaceholders: OpenapiType` is not satisfied
--> $DIR/invalid_placeholders_ty.rs:15:16
|
15 | fn endpoint(_: FooPlaceholders) {
| ^^^^^^^^^^^^^^^ the trait `OpenapiType` is not implemented for `FooPlaceholders`
|
::: $WORKSPACE/src/endpoint.rs
|
| #[openapi_bound("Placeholders: OpenapiType")]
| --------------------------- required by this bound in `gotham_restful::EndpointWithSchema::Placeholders`
error[E0277]: the trait bound `for<'de> FooPlaceholders: serde::de::Deserialize<'de>` is not satisfied
--> $DIR/invalid_placeholders_ty.rs:15:16
|
15 | fn endpoint(_: FooPlaceholders) {
| ^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `FooPlaceholders`
|
::: $WORKSPACE/src/endpoint.rs
|
2021-03-09 21:23:44 +01:00
| type Placeholders: PathExtractor<Body> + Clone + Sync;
2021-02-21 18:31:44 +01:00
| ------------------- required by this bound in `gotham_restful::EndpointWithSchema::Placeholders`
error[E0277]: the trait bound `FooPlaceholders: StateData` is not satisfied
--> $DIR/invalid_placeholders_ty.rs:15:16
|
15 | fn endpoint(_: FooPlaceholders) {
| ^^^^^^^^^^^^^^^ the trait `StateData` is not implemented for `FooPlaceholders`
|
::: $WORKSPACE/src/endpoint.rs
|
2021-03-09 21:23:44 +01:00
| type Placeholders: PathExtractor<Body> + Clone + Sync;
2021-02-21 18:31:44 +01:00
| ------------------- required by this bound in `gotham_restful::EndpointWithSchema::Placeholders`
error[E0277]: the trait bound `FooPlaceholders: StaticResponseExtender` is not satisfied
--> $DIR/invalid_placeholders_ty.rs:15:16
|
15 | fn endpoint(_: FooPlaceholders) {
| ^^^^^^^^^^^^^^^ the trait `StaticResponseExtender` is not implemented for `FooPlaceholders`
|
::: $WORKSPACE/src/endpoint.rs
|
2021-03-09 21:23:44 +01:00
| type Placeholders: PathExtractor<Body> + Clone + Sync;
2021-02-21 18:31:44 +01:00
| ------------------- required by this bound in `gotham_restful::EndpointWithSchema::Placeholders`
2021-03-09 21:23:44 +01:00
error[E0277]: the trait bound `FooPlaceholders: Clone` is not satisfied
2021-02-21 18:31:44 +01:00
--> $DIR/invalid_placeholders_ty.rs:15:16
|
15 | fn endpoint(_: FooPlaceholders) {
2021-03-09 21:23:44 +01:00
| ^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `FooPlaceholders`
2021-02-21 18:31:44 +01:00
|
::: $WORKSPACE/src/endpoint.rs
|
2021-03-09 21:23:44 +01:00
| type Placeholders: PathExtractor<Body> + Clone + Sync;
| ----- required by this bound in `gotham_restful::EndpointWithSchema::Placeholders`