Skip to content

Commit e49ad2f

Browse files
committed
update clippy and trybuild to Rust 1.84
1 parent 9d95539 commit e49ad2f

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
- uses: actions/checkout@v4
9393
- uses: dtolnay/rust-toolchain@master
9494
with:
95-
toolchain: "1.82"
95+
toolchain: "1.84"
9696
id: rust-toolchain
9797
- uses: actions/cache@v4
9898
with:
@@ -109,7 +109,7 @@ jobs:
109109
- uses: actions/checkout@v4
110110
- uses: dtolnay/rust-toolchain@master
111111
with:
112-
toolchain: "1.78"
112+
toolchain: "1.84"
113113
components: clippy
114114
id: rust-toolchain
115115
- uses: actions/cache@v4

tests/ui/endpoint/auth_data_non_clone.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error[E0277]: the trait bound `AuthData: Clone` is not satisfied
22
--> tests/ui/endpoint/auth_data_non_clone.rs:15:25
33
|
44
15 | async fn read_all(auth: AuthStatus<AuthData>) -> Result<NoContent, AuthError> {
5-
| ^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `AuthData`, which is required by `gotham_restful::AuthStatus<AuthData>: Clone`
5+
| ^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `AuthData`
66
|
77
= note: required for `gotham_restful::AuthStatus<AuthData>` to implement `Clone`
88
note: required by a bound in `clone_from_state`

tests/ui/endpoint/invalid_body_ty.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error[E0277]: the trait bound `FooBody: OpenapiType` is not satisfied
22
--> tests/ui/endpoint/invalid_body_ty.rs:15:16
33
|
44
15 | fn endpoint(_: FooBody) {
5-
| ^^^^^^^ the trait `OpenapiType` is not implemented for `FooBody`, which is required by `<endpoint___gotham_restful_endpoint as EndpointWithSchema>::Body: RequestBody`
5+
| ^^^^^^^ the trait `OpenapiType` is not implemented for `FooBody`
66
|
77
= help: the following other types implement trait `OpenapiType`:
88
&'a T
@@ -26,7 +26,7 @@ error[E0277]: the trait bound `FooBody: RequestBody` is not satisfied
2626
--> tests/ui/endpoint/invalid_body_ty.rs:15:16
2727
|
2828
15 | fn endpoint(_: FooBody) {
29-
| ^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `FooBody`, which is required by `FooBody: RequestBody`
29+
| ^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `FooBody`
3030
|
3131
= help: the following other types implement trait `serde::de::Deserialize<'de>`:
3232
&'a Path

tests/ui/endpoint/invalid_params_ty.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ error[E0277]: the trait bound `FooParams: StateData` is not satisfied
4343
--> tests/ui/endpoint/invalid_params_ty.rs:15:16
4444
|
4545
15 | fn endpoint(_: FooParams) {
46-
| ^^^^^^^^^ the trait `StateData` is not implemented for `FooParams`, which is required by `<endpoint___gotham_restful_endpoint as EndpointWithSchema>::Params: QueryStringExtractor<Body>`
46+
| ^^^^^^^^^ the trait `StateData` is not implemented for `FooParams`
4747
|
4848
= help: the following other types implement trait `StateData`:
4949
AuthSource
@@ -66,7 +66,7 @@ error[E0277]: the trait bound `FooParams: StaticResponseExtender` is not satisfi
6666
--> tests/ui/endpoint/invalid_params_ty.rs:15:16
6767
|
6868
15 | fn endpoint(_: FooParams) {
69-
| ^^^^^^^^^ the trait `StaticResponseExtender` is not implemented for `FooParams`, which is required by `<endpoint___gotham_restful_endpoint as EndpointWithSchema>::Params: QueryStringExtractor<Body>`
69+
| ^^^^^^^^^ the trait `StaticResponseExtender` is not implemented for `FooParams`
7070
|
7171
= help: the following other types implement trait `StaticResponseExtender`:
7272
FilePathExtractor
@@ -86,7 +86,7 @@ error[E0277]: the trait bound `for<'de> FooParams: serde::de::Deserialize<'de>`
8686
--> tests/ui/endpoint/invalid_params_ty.rs:15:16
8787
|
8888
15 | fn endpoint(_: FooParams) {
89-
| ^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `FooParams`, which is required by `<endpoint___gotham_restful_endpoint as EndpointWithSchema>::Params: QueryStringExtractor<Body>`
89+
| ^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `FooParams`
9090
|
9191
= note: for local types consider adding `#[derive(serde::Deserialize)]` to your `FooParams` type
9292
= note: for types from other crates check whether the crate offers a `serde` feature flag

tests/ui/endpoint/invalid_placeholders_ty.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ error[E0277]: the trait bound `FooPlaceholders: StateData` is not satisfied
4343
--> tests/ui/endpoint/invalid_placeholders_ty.rs:15:16
4444
|
4545
15 | fn endpoint(_: FooPlaceholders) {
46-
| ^^^^^^^^^^^^^^^ the trait `StateData` is not implemented for `FooPlaceholders`, which is required by `<endpoint___gotham_restful_endpoint as EndpointWithSchema>::Placeholders: PathExtractor<Body>`
46+
| ^^^^^^^^^^^^^^^ the trait `StateData` is not implemented for `FooPlaceholders`
4747
|
4848
= help: the following other types implement trait `StateData`:
4949
AuthSource
@@ -66,7 +66,7 @@ error[E0277]: the trait bound `FooPlaceholders: StaticResponseExtender` is not s
6666
--> tests/ui/endpoint/invalid_placeholders_ty.rs:15:16
6767
|
6868
15 | fn endpoint(_: FooPlaceholders) {
69-
| ^^^^^^^^^^^^^^^ the trait `StaticResponseExtender` is not implemented for `FooPlaceholders`, which is required by `<endpoint___gotham_restful_endpoint as EndpointWithSchema>::Placeholders: PathExtractor<Body>`
69+
| ^^^^^^^^^^^^^^^ the trait `StaticResponseExtender` is not implemented for `FooPlaceholders`
7070
|
7171
= help: the following other types implement trait `StaticResponseExtender`:
7272
FilePathExtractor
@@ -86,7 +86,7 @@ error[E0277]: the trait bound `for<'de> FooPlaceholders: serde::de::Deserialize<
8686
--> tests/ui/endpoint/invalid_placeholders_ty.rs:15:16
8787
|
8888
15 | fn endpoint(_: FooPlaceholders) {
89-
| ^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `FooPlaceholders`, which is required by `<endpoint___gotham_restful_endpoint as EndpointWithSchema>::Placeholders: PathExtractor<Body>`
89+
| ^^^^^^^^^^^^^^^ the trait `for<'de> serde::de::Deserialize<'de>` is not implemented for `FooPlaceholders`
9090
|
9191
= note: for local types consider adding `#[derive(serde::Deserialize)]` to your `FooPlaceholders` type
9292
= note: for types from other crates check whether the crate offers a `serde` feature flag

0 commit comments

Comments
 (0)